curl-headers tagged requests and articles

Categorized request examples and articles tagged with [curl-headers] keyword
How to pass custom headers to Curl?
To make a request with a custom HTTP header using Curl, you must pass that header with the -H command line option in "header: value" format. In this Curl Custom Headers example, we send a custom HTTP header to the ReqBin echo URL. The target URL is passed as the first command-line parameter, and the custom header is passed as the second command-line parameter to the Curl command. You can pass multiple custom HTTP headers to Curl by repeating the -H "header: value" command line option. Click Run to execute the Curl Custom Headers example online and see the results.