HTTP Status Code Reference
Search HTTP status codes and understand their meanings. All 1xx-5xx codes included.
Continue
Initial part of request received, continue sending
Switching Protocols
Server is switching protocols as requested
OK
Request succeeded
Created
Request succeeded, new resource created
Accepted
Request accepted, processing not complete
No Content
Request succeeded, no content to return
Partial Content
Range request succeeded, partial content returned
Moved Permanently
Resource has permanently moved to new URL
Found
Resource temporarily at different URL
See Other
Response at different URI (use GET)
Not Modified
Cached version is still valid
Temporary Redirect
Temporary redirect (preserve method)
Permanent Redirect
Permanent redirect (preserve method)
Bad Request
Invalid request syntax
Unauthorized
Authentication required
Forbidden
Access denied
Not Found
Resource not found
Method Not Allowed
HTTP method not allowed
Request Timeout
Request took too long
Conflict
Request conflicts with current state
Gone
Resource permanently deleted
Payload Too Large
Request body is too large
URI Too Long
URI is too long
Unsupported Media Type
Media type not supported
Unprocessable Entity
Request understood but cannot process
Too Many Requests
Rate limit exceeded
Internal Server Error
Server encountered an error
Not Implemented
Feature not supported
Bad Gateway
Gateway received invalid response
Service Unavailable
Service temporarily unavailable
Gateway Timeout
Gateway timed out
🌐 What are HTTP Status Codes?
HTTP status codes are 3-digit numbers indicating how the server processed a client request. Defined in HTTP standards like RFC 7231, the first digit indicates the response category. 1xx is informational, 2xx is success, 3xx is redirection, 4xx is client error, and 5xx is server error. Developers use these codes for API debugging, error handling, and logging.
📊 Category Meanings
Request received, continue
Request processed successfully
Further action needed
Bad request
Server processing failed
💡 Common Status Codes
- 200 OK - Success, most common response
- 201 Created - New resource created via POST
- 400 Bad Request - Invalid parameters or body
- 401/403 - Authentication/authorization issues
- 404 Not Found - Resource not found
- 500 Internal Server Error - Server internal error
Frequently Asked Questions
What is the difference between 401 and 403?▼
401 Unauthorized means authentication is required or failed (need to log in). 403 Forbidden means authenticated but no permission for the resource.
What is the difference between 302 and 307?▼
302 Found historically caused browsers to change POST to GET on redirect. 307 Temporary Redirect preserves the original HTTP method.
Can I create custom status codes?▼
Possible but not recommended. Use standard codes and include details in the response body. Some vendors have extensions like 499 (Nginx), 520-527 (Cloudflare).