Send a HEAD request to inspect headers without downloading the body.
Section: Basics and Output
Fetch headers only
bash
bash
curl -I https://example.comExplanation
Useful for checking status, content type, caching headers, or redirects.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Basics and Output