HTTP Status Codes
A quick reference for common HTTP status codes.
1xx Informational
Code | Description |
---|---|
100 Continue |
The server has received the request headers and the client should proceed to send the request body. |
101 Switching Protocols |
The server is switching protocols as requested by the client. |
2xx Success
Code | Description |
---|---|
200 OK |
The request has succeeded. |
201 Created |
The request has been fulfilled and has resulted in one or more new resources being created. |
202 Accepted |
The request has been accepted for processing, but the processing has not been completed. |
204 No Content |
The server successfully processed the request but is not returning any content. |
3xx Redirection
Code | Description |
---|---|
301 Moved Permanently |
The requested resource has been assigned a new permanent URI. |
302 Found |
The requested resource resides temporarily under a different URI (HTTP 1.0). |
304 Not Modified |
Indicates that the resource has not been modified since the version specified by the request headers. |
4xx Client Error
Code | Description |
---|---|
400 Bad Request |
The server cannot or will not process the request due to a client error. |
401 Unauthorized |
Authentication is required and has failed or has not yet been provided. |
403 Forbidden |
The server understood the request but refuses to authorize it. |
404 Not Found |
The server has not found anything matching the Request-URI. |
429 Too Many Requests |
The user has sent too many requests in a given amount of time. |
5xx Server Error
Code | Description |
---|---|
500 Internal Server Error |
The server encountered an unexpected condition that prevented it from fulfilling the request. |
502 Bad Gateway |
The server, while acting as a gateway or proxy, received an invalid response from an inbound server. |
503 Service Unavailable |
The server is currently unable to handle the request due to a temporary overload or maintenance. |
504 Gateway Timeout |
The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server. |