Questions tagged as 'curl'

0
answers

Login to the web using cURL

I am trying to login to a web site through cURL in PHP to later web scraping the resulting page when logging in. I am using the following code: <?php $url = 'URL en la que quiero logearme'; $ch = curl_init(); $parametros_post =...
asked by 09.08.2017 / 00:48
0
answers

Big Data project start council [closed]

Good evening, I have been assigned a project and I do not really know where to start. By curl I receive a json, the client wants to save every second the received data. Right now they have a cron task that calls a php file that performs an...
asked by 30.03.2017 / 21:30
0
answers

Android query ws not authorized. OAuth 2.0

Good morning. I have to make a query to a WS to return an access_token, this WS has OAuth 2.0 security, I need to pass a client_id and client_secret, otherwise it returns 'unauthorized'. This is the cURL: curl -X POST -vu <client_id>:<...
asked by 20.08.2016 / 21:52
1
answer

Access denied error 1011 when obtaining an image with file_get_contents?

I would like to know why I can not access the image and show it, every time I run the script the image is not displayed and when I open it from my host I get the following:    Error 1011 Ray ID: 2c82fb8597081629 • 2016-07-25 22:17:31 UTC   ...
asked by 26.07.2016 / 00:25
2
answers

Send data by POST from php using cURL?

I'm trying to send data to an external API, the problem is that when I open the console in chrome or inspect any element, the values hidden of the form that are the API keys are shown, so try this with Curl : <?php $ch = curl_i...
asked by 14.07.2018 / 16:52
2
answers

Help with extracting URLs with php

How can I extract a specific url from a website? Because the url of this web is dynamic I would like to extract it and follow it with php and turn it into a url of mine. Example: See internal code and extract url from mp4 video from: www....
asked by 06.08.2017 / 06:13
1
answer

error log in bash

I would like to know how I can create a log or have control of the data that is updated or not in this bash script I read a csv and send the data with CURL and the .sh works correctly now I would like to generate a log of errors or have a messag...
asked by 15.11.2018 / 22:04
1
answer

curl 60: SSL certificate problem: unable to get local issuer certificate [url] https://identity.api.rackspacecloud.com/v2.0/tokens

Recent Rackspace has updated its SSL certificates for some services services, one of which is OpenCloud that stores files. Some developers that have been using the php-opencloud module have been experiencing errors like this:    [curl]...
asked by 19.06.2018 / 22:17
1
answer

How to delay data extraction using Curl php

Good evening friends today I was raised a question I'm using Curl to extract some data from a website in this way. <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); $url = 'https://ycapi.org/...
asked by 19.01.2018 / 02:34
0
answers

Problem with Google Calendar API php

could someone support me with the following error? Uncaught exception 'GuzzleHttp \ Exception \ RequestException' with message 'cURL error 60: SSL certificate problem: unable to get local issuer certificate I was reading a bit and somethin...
asked by 05.12.2018 / 18:18