How to use HTTP status
- 1. Search. Code, name, or a word like rate.
- 2. Read the meaning. Short, practical glosses.
- 3. Copy the code. For tests and mocks.
- 4. Check headers. ETag, Retry-After, WWW-Authenticate.
About this tool
Status codes are a shared language. 401 is authentication, 403 is authorization, 429 is slow down. This page is an encyclopedia, not an HTTP client.
Redirects
301/308 are permanent. 302/307 are temporary. 307/308 preserve method.
Caching
304 means the cache is fine. Combine with ETag / If-None-Match.
Code examples
Fetch
if (res.status === 429) wait(res.headers.get("Retry-After"))