Questions tagged as 'curl'

2
answers

How to send data to a form using cURL?

I was reading about cURL, and saw that I can use it to send data to a form (as if typing data and giving submit). How could I do this in php?     
asked by 24.04.2015 / 15:22
1
answer

What is "cacert.pem"?

In the code where an API call is executed, the following line exists: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); When executing the code the following error is returned:    SSL certificate problem: unable to get local issuer certifi...
asked by 26.03.2015 / 14:27
1
answer

mobile operator consultation

I started a query to find out which cell phone carrier is pulling from a website. However, I can only do one at a time. I would like help so I could paste a list and it would be sending in requisitions and printing the separate result. <?ph...
asked by 31.03.2017 / 14:02
1
answer

How to make an http request with php with authentication and waiting for a file in response?

I'm using a Text to Speech service and would like to use it in a php that I'm riding. The problem is that I have never done this before and I do not even know where to start. This type of information is provided in the documentation GET...
asked by 17.02.2017 / 15:17
1
answer

Opening merge request in GitLab by curl

Where we work, we use a variation of GitFlow where when a hotfix enters the product code, there is only the merge for master which, when approved, propagates to develop through the master 2 develop branch % (or simply m2d...
asked by 04.07.2018 / 05:10
1
answer

How to use Curl with C #, application windows forms

I'm trying to integrate my desktop application with an online tool (ScrumWise), however they use Curl, I'm not able to consume the rest. curl https://api.scrumwise.com/service/api/v1/getData -k -u [email protected]:69C0A6A9E957B6398BD8C62F3B67...
asked by 19.05.2017 / 17:09
1
answer

Download script by curl method

I'm having some problems with the script process below. Literally it is downloading very slowly, and this is when the download process does not fall or restart from scratch. Is there any way to fix this, so that the download is done...
asked by 12.09.2015 / 07:38
1
answer

Taking a single value for PHP

$ch = curl_init('site'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/6.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);...
asked by 18.12.2014 / 22:11
2
answers

File download with curl and php

I have two server1 and server2 servers, server2 only accepts server1 request if it is another ip it returns 404, my site is on server1 and the files for download on server2 , I made the following script to return the server2 :...
asked by 17.07.2014 / 15:29
0
answers

What reason for PHP's CURL to be so slow? comparing to wget / browse? [closed]

I've been working with CURL of PHP 5.6 , it's extremely slow compared to other features like wget/browse/file_get_contents . In a% simple%, it has a delay of 4-10 seconds compared to other resources, I have already researched...
asked by 20.01.2017 / 21:37