← Back to tools
HTTP Status Code Reference
Complete reference for all HTTP response status codes. Search by code or name, filter by category, and click any code for detailed explanations.
61 status codes
1xxInformational
2xxSuccess
3xxRedirection
4xxClient Error
5xxServer Error
Quick reference — most common status codes
| Code | Meaning | Common Use |
|---|---|---|
| 200 | OK | Successful request |
| 201 | Created | Resource created (POST) |
| 204 | No Content | Successful delete or update |
| 301 | Moved Permanently | URL/domain migration |
| 302 | Found | Temporary redirect |
| 304 | Not Modified | Cache hit — use local copy |
| 400 | Bad Request | Invalid request body/params |
| 401 | Unauthorized | Missing/invalid auth |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource doesn't exist |
| 409 | Conflict | Version/state conflict |
| 422 | Unprocessable | Validation error |
| 429 | Too Many Requests | Rate limited |
| 500 | Internal Server Error | Unhandled server bug |
| 502 | Bad Gateway | Upstream server down |
| 503 | Service Unavailable | Maintenance/overload |
REST API cheat sheet — which codes to return
GET /resources
200 with the list. 304 if cached.
GET /resources/:id
200 with the resource. 404 if not found.
POST /resources
201 + Location header. 400/422 for validation. 409 for duplicates.
PUT/PATCH /resources/:id
200 with updated resource, or 204 if no body. 404 if not found.
DELETE /resources/:id
204 on success. 404 if not found (or 204 idempotently).
Any endpoint
401 if not authenticated. 403 if not authorized. 429 if rate limited. 500 for unexpected errors.