Questions tagged as 'curl'

5
answers

Grab value from a url

I'm trying to make a script in Bash with which I can get a value from a URL. For example, in this url there is part that says "percent", what I need is to grab that number. I honestly do not have much experience in bash, so any help is welcom...
asked by 06.04.2016 / 17:04
2
answers

Differences between file_get_contents () and curl

I'm doing a script to get content from a url and I found here , here and aqui what can be done with curl and with file_gets_contents() , but I'm not entirely clear about two things: What are the differences between t...
asked by 26.06.2017 / 10:57
1
answer

Error sending json parameters by the PUT method in WebService client with java and jersey

I have a WebService client side application in JAVA and server side in PHP. I am trying to send a request with json parameters by CURL command as seen below: curl -H 'Content-Type:application/json' -X PUT -d path=4920 -d message="I love yo...
asked by 15.09.2017 / 18:34
1
answer

MercadoPago Applications does not return user credentials

Following the MercadoPago documentation ( link ) I get to the point where I need to obtain the user's credentials. Previously the application was created and the e-mail was sent to the person from whom we need authorization. At the time of...
asked by 26.01.2017 / 18:04
1
answer

Get access_token from an API with OAuth 2.0 from Android

Good morning. I come with a doubt, it turns out that my application has to communicate with a WS to obtain the access_token and thus be able to use the methods of this. The WS uses OAuth 2.0 and the administrator passed the queries to the WS in...
asked by 20.08.2016 / 01:41
1
answer

curl php to http redirecting to an https

I have a problem, I try to curl a url that contains a post to an https url, the problem is that I only capture the first url and jump to the second but it does not capture it. url 1: http: //s7494.home. us/m/fun4.php url 2: https: w...
asked by 12.07.2016 / 10:24
2
answers

get captcha with curl

I found this code on the internet, and I want to get your captcha from this page link your captcha is generated every time you refresh the page, is it possible to obtain it? <?php $cookie="cookie.txt"; function open($url)...
asked by 17.10.2016 / 19:30
1
answer

Send SII model to hacienda using cURL

I am completely desperate. I tried some time ago to find an answer using vba, and I did not get a solution. I went back to the load trying to use cURL from the command line, but it does not work either. In this case, I am going to raise the w...
asked by 02.01.2018 / 14:51
1
answer

"SSL connect error" connecting to Proxies using libcurl and C ++, a little help?

I wanted to buy a huge list of proxies that I have because I'm only interested in those who use the https (SSL) protocol and those that are not in China. Looking for a quick way to do it I found this function. string proxyWorks(string ip, int...
asked by 20.04.2018 / 20:30
2
answers

Make a lock of a cron

to see if someone gives me a hand, I have a cron that generates a feed of products in 26 languages, and it starts to happen that sometimes gives timeout I have happened to divide the file into 3 instead of having script.php have script1.php scri...
asked by 11.07.2018 / 15:13