HTTP Status Codes Overview
18 Apr 2025
A practical reference for 2xx, 3xx, 4xx, and 5xx responses with real-world meaning.
HTTP status codes are grouped by first digit:
| Range | Type | Responsibility |
|---|---|---|
| 1xx | Informational | Ongoing communication |
| 2xx | Success | Everything is OK |
| 3xx | Redirection | Further action needed |
| 4xx | Client Error | Usually request-side issue |
| 5xx | Server Error | Server-side issue |
2xx Success
Common examples:
200 OK201 Created204 No Content
4xx Client Errors
Common examples:
400 Bad Request401 Unauthorized403 Forbidden404 Not Found429 Too Many Requests
5xx Server Errors
Common examples:
500 Internal Server Error502 Bad Gateway503 Service Unavailable504 Gateway Timeout
Use status codes as part of API design and debugging strategy, not just as incidental values.