Top "Curl" questions

cURL is a library and command-line tool for transferring data using various protocols such as HTTP, FTP and SFTP.

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I am getting error Expecting value: line 1 column 1 (char 0) when trying to decode JSON. The URL I use for the …

python json api curl
https connection using CURL from command line

I am new to Curl and Cacerts world and facing a problem while connecting to a server. Basically, I need …

curl ssl command-line https certificate
Call to undefined function curl_init().?

When i am going to implement Authorize.net payment gateway. However, I got this error: Call to undefined function curl_…

php curl
How to capture Curl output to a file?

I have a text document that contains a bunch of URLs in this format: URL = "sitehere.com" What I'm looking …

batch-file curl
Using curl to upload POST data with files

I would like to use cURL to not only send data parameters in HTTP POST but to also upload files …

shell file curl post file-upload
send/post xml file using curl command line

How can I send/post an xml file to a local server http://localhost:8080 using curl from the command line? …

xml command-line curl
curl: (60) SSL certificate problem: unable to get local issuer certificate

root@sclrdev:/home/sclr/certs/FreshCerts# curl --ftp-ssl --verbose ftp://{abc}/ -u trup:trup --cacert /etc/ssl/certs/ca-certificates.crt * …

curl ssl openssl ssl-certificate x509certificate
Getting only response header from HTTP POST using curl

One can request only the headers using HTTP HEAD, as option -I in curl(1). $ curl -I / Lengthy HTML response bodies …

post curl http-headers
PHP cURL custom headers

I'm wondering if/how you can add custom headers to a cURL HTTP request in PHP. I'm trying to emulate …

php curl
How to display request headers with command line curl

Command line curl can display response header by using -D option, but I want to see what request header it …

curl