Store cURL response headers in a file
cURL can save response headers to file (useful in shell scripts) with the -D
flag
curl -D response-headers.txt https://example.com
Tweet
cURL can save response headers to file (useful in shell scripts) with the -D
flag
curl -D response-headers.txt https://example.com
Tweet