Separate different request groups with `--next`.
Section: Response Inspection
Multiple requests in one command
bash
bash
curl https://example.com --next -I https://api.example.comExplanation
`--next` lets one command perform multiple logically separate requests.
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 Response Inspection
Request compressed response
Ask the server for a compressed response body.
Conditional request with ETag
Use a saved ETag to avoid downloading unchanged content.
Conditional request by modification time
Only fetch if the remote file is newer than a local file.
Verbose HTTP/TLS details
Show detailed request and response conversation.