I wish to send a header to my Apache server on a Linux box. How can I achieve this via a cURL call?
How to send a header using a HTTP request through a cURL call
curlhttp-headers
Related Topic
- How to display request headers with command line curl
- Json – How to POST JSON data with cURL
- Linux – performing HTTP requests with cURL (using PROXY)
- Getting only response header from HTTP POST using cURL
- Using cURL to upload POST data with files
- How to capture cURL output to a file
- How to measure request and response times at once using cURL
Best Answer
man curl
:Example:
You can see the request that curl sent by adding the
-v
option.