Top "Curl" questions

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

How do I install the ext-curl extension with PHP 7?

I've installed PHP 7 using this repo, but when I try to run composer install, it's giving this error: [package] requires …

php curl php-7
curl: (6) Could not resolve host: google.com; Name or service not known

when I try to load a web page to terminal it gives curl: (6) Could not resolve host error. I have …

linux curl terminal fedora
Basic HTTP and Bearer Token Authentication

I am currently developing a REST-API which is HTTP-Basic protected for the development environment. As the real authentication is done …

rest curl basic-authentication access-token restful-authentication
How to define the basic HTTP authentication using cURL correctly?

I'm learning Apigility (Apigility docu -> REST Service Tutorial) and trying to send a POST request with basic authentication …

http curl authorization basic-authentication laminas-api-tools
How do I get cURL to not show the progress bar?

I'm trying to use cURL in a script and get it to not show the progress bar. I've tried the …

linux bash unix scripting curl
How to use CURL via a proxy?

I am looking to set curl to use a proxy server. The url is provided by an html form, which …

php curl proxy php-curl
POST request send json data java HttpUrlConnection

I have developed a java code that convert the following cURL to java code using URL and HttpUrlConnection. the curl …

java json post curl httpurlconnection
Send request to curl with post data sourced from a file

I need to make a POST request via Curl from the command line. Data for this request is located in …

http curl http-post command-line-interface
PHP - Debugging Curl

I'd like to see what the post fields in the request are before I send it. (For debugging purposes). The …

php debugging curl
How to get file_get_contents() to work with HTTPS?

I'm working on setting up credit card processing and needed to use a workaround for CURL. The following code worked …

php curl https file-get-contents