ToolSnippet
🌐Developer Cheat Sheet

HTTP Status Codes (1xx–5xx) Complete Reference Guide

Comprehensive quick reference for all standard RFC HTTP status codes, REST API conventions, caching behaviors, and client/server error definitions.

1-Click Syntax CopyProduction-Tested StandardsInteractive Tool Companion

Need to parse URLs or test query parameters?

Inspect URL components, origins, parameters, and protocol schemes.

Launch URL Component & Parameter Parser

2xx Success Codes

The action was successfully received, understood, and accepted.

Syntax / TokenName / TypeDescriptionExample / Notes
200 OK
Standard SuccessRequest succeeded. Response body contains requested resource payload.
201 Created
Resource CreatedRequest succeeded and resulted in creation of a new resource (common in POST/PUT).
202 Accepted
Accepted (Async)Request accepted for async processing, but processing has not completed.
204 No Content
No ContentRequest succeeded but returns no response body (common in DELETE or PUT operations).
206 Partial Content
Partial ContentServer is delivering only part of resource due to Range header (used in video streaming).

3xx Redirection Codes

Further action must be taken by the user agent to fulfill request.

Syntax / TokenName / TypeDescriptionExample / Notes
301 Moved Permanently
Permanent RedirectResource has permanently moved to new URI. Search engines transfer link equity.
302 Found
Temporary RedirectResource temporarily resides under different URI. Search engines retain original URL.
304 Not Modified
Cached Copy ValidResource has not changed since conditional request header (If-Modified-Since / ETag).
307 Temporary Redirect
Strict Temporary RedirectTemporary redirect that guarantees HTTP method (POST stays POST) is preserved.
308 Permanent Redirect
Strict Permanent RedirectPermanent redirect that guarantees HTTP method is preserved.

4xx Client Error Codes

The request contains bad syntax or cannot be fulfilled by client.

Syntax / TokenName / TypeDescriptionExample / Notes
400 Bad Request
Malformed RequestServer cannot process request due to client error (invalid JSON, malformed syntax).
401 Unauthorized
Authentication RequiredClient lacks valid authentication credentials (missing or expired token).
403 Forbidden
Permission DeniedClient identity is known, but access rights to the resource are denied.
404 Not Found
Resource Not FoundOrigin server did not find a current representation for target resource.
405 Method Not Allowed
Method Not SupportedRequest HTTP method (e.g. POST) is not supported for this endpoint.
409 Conflict
State ConflictRequest conflicts with current state of server (e.g. duplicate email in registration).
410 Gone
Permanently DeletedResource was intentionally deleted and will not be available again (better than 404 for SEO).
422 Unprocessable Entity
Validation ErrorSyntax is correct, but payload failed semantic validation rules (WebDAV / REST standard).
429 Too Many Requests
Rate LimitedUser has sent too many requests in a given time window (Rate Limiting).

5xx Server Error Codes

Server failed to fulfill an apparently valid request.

Syntax / TokenName / TypeDescriptionExample / Notes
500 Internal Server Error
Server CrashGeneric catch-all error when an unexpected condition occurred on the server.
502 Bad Gateway
Upstream ErrorServer received an invalid response from upstream server (e.g. Nginx proxying to Node).
503 Service Unavailable
Overloaded / MaintenanceServer is currently unable to handle request due to temporary overloading or maintenance.
504 Gateway Timeout
Upstream TimeoutServer did not receive timely response from upstream server (e.g. database query hang).

Frequently Asked Questions

Common questions and developer tips regarding http status codes (1xx–5xx) quick reference.

Explore More Cheat Sheets

All Cheat Sheets →