How can I see the request headers made by curl when sending a request to the server?
I think curl –verbose/-v is the easiest. It will spit out the request headers (lines prefixed with ‘>’) without having to write to a file: $ curl -v -I -H “Testing: Test header so you see this works” http://stackoverflow.com/ * About to connect() to stackoverflow.com port 80 (#0) * Trying 69.59.196.211… connected * Connected to … Read more