/status HTTP Status Code Explainer
What does a 425 mean again? Hand /status a code and get its name, a plain explanation and a troubleshooting tip — every registered code, plus the teapot.
curl curlhub.sh/status/418
Usage
With curl
curl curlhub.sh/status/418
curl curlhub.sh/status/429
With the CLI
curlhub status/418
Structured output for scripts
curl -s curlhub.sh/status/418 -H 'Accept: application/json'
Output
curl curlhub.sh/status/418
418 I'm a Teapot
A joke code (RFC 2324): the server is a teapot and refuses to brew coffee.
Tip: Not a real error — an Easter egg. Nothing to fix.
Parameters
| Input | What it does |
|---|---|
/{code} | The status code as a path segment (curlhub.sh/status/404). |
Accept: application/json | Return {code, name, description, tip} as JSON. |
Recipes
Explain a code your API returned
curl -s curlhub.sh/status/$(curl -s -o /dev/null -w "%{http_code}" https://api.example.com)
Grab the code from one request, explain it with the next.
Settle the 401-vs-403 debate
curlhub status/403