Inspect total time and status code together.

Section: cURL Debugging Patterns

Show timing data

bash
bash
curl -s -o /dev/null -w 'code=%{http_code} time=%{time_total}\n' https://example.com
Explanation

Helpful when distinguishing slow 200s from outright 5xx failures.

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 cURL Debugging Patterns
Print only the status code
Useful for scripts and health checks.
OpenIn sheetbashsame section
Print redirect target
Show the redirect location without fully following it.
OpenIn sheetbashsame section
Send JSON and inspect response
Test common API validation and auth failures.
OpenIn sheetbashsame section
404 vs 410
Missing resource versus intentionally removed resource.
OpenIn sheettext1 tag match
401 vs 403
Authentication versus authorization.
301 vs 302 vs 307 vs 308
Choose the right redirect semantics.