Show response headers, following redirects
Follows redirects and prints the response headers of each hop while discarding the body.
curl -sSL -D - -o /dev/null https://example.comEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/curl.md), licensed under CC BY 4.0.