Learn
Cheatsheet
HTTP Status Codes
Every response code and what it means.
2xx — Success
| 200 OK | Request succeeded |
| 201 Created | Resource created (POST) |
| 204 No Content | Success with no response body |
| 206 Partial Content | Partial response (range requests) |
3xx — Redirection
| 301 Moved Permanently | Permanent redirect — update bookmarks |
| 302 Found | Temporary redirect |
| 304 Not Modified | Use cached version |
| 307 Temporary Redirect | Temporary, preserve HTTP method |
| 308 Permanent Redirect | Permanent, preserve HTTP method |
4xx — Client Errors
| 400 Bad Request | Malformed request syntax |
| 401 Unauthorized | Authentication required |
| 403 Forbidden | Authenticated but not allowed |
| 404 Not Found | Resource does not exist |
| 405 Method Not Allowed | HTTP method not supported |
| 409 Conflict | State conflict (e.g. duplicate) |
| 422 Unprocessable Entity | Validation failed |
| 429 Too Many Requests | Rate limit exceeded |
5xx — Server Errors
| 500 Internal Server Error | Generic server failure |
| 502 Bad Gateway | Invalid response from upstream |
| 503 Service Unavailable | Server temporarily down |
| 504 Gateway Timeout | Upstream server timed out |