Today I Learned

A Hashrocket project

Ready to join Hashrocket? Find Openings here and apply today.

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