/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.

GET plain HTTP ok no signupnothing stored
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

Parameters

InputWhat it does
/{code}The status code as a path segment (curlhub.sh/status/404).
Accept: application/jsonReturn {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