List of HTTP status codes with several examples for each category:

1xx – Informational (Request received, continuing process):

  1. 100 Continue
  2. 101 Switching Protocols
  3. 102 Processing
  4. 103 Early Hints
  1. 100 Continue: The server has received the initial part of the request and will continue to process it.
  2. 101 Switching Protocols: The server is switching to a different protocol.
  3. 102 Processing: The request is being processed and may take a while to complete.
  4. 103 Early Hints: Used to return some response headers before the final response.

2xx – Success (The action was successfully received, understood, and accepted):

  1. 200 OK
  2. 201 Created
  3. 202 Accepted
  4. 203 Non-Authoritative Information
  5. 204 No Content
  6. 205 Reset Content
  1. 200 OK: The request was successful, and the server has returned the requested data.
  2. 201 Created: The request resulted in the creation of a new resource.
  3. 202 Accepted: The request has been accepted for processing but not yet completed.
  4. 204 No Content: The request was successful, but there is no data to return.
  5. 206 Partial Content: The server is returning only a portion of the requested resource.
  6. 207 Multi-Status: A status for multiple independent operations in a single request.

3xx – Redirection (Further action needs to be taken to complete the request):

  1. 300 Multiple Choices
  2. 301 Moved Permanently
  3. 302 Found
  4. 303 See Other
  5. 304 Not Modified
  6. 305 Use Proxy
  7. 306 Switch Proxy (Unused)
  8. 307 Temporary Redirect
  9. 308 Permanent Redirect
  1. 300 Multiple Choices: The requested resource corresponds to multiple possibilities.
  2. 301 Moved Permanently: The requested resource has been permanently moved to a different URL.
  3. 302 Found: The requested resource is temporarily located at a different URL.
  4. 304 Not Modified: The client’s cached copy is up to date, and there’s no need to transfer the same data again.
  5. 307 Temporary Redirect: The request should be repeated with another URL.

4xx – Client Errors (The request contains bad syntax or cannot be fulfilled by the server):

  1. 400 Bad Request
  2. 401 Unauthorized
  3. 402 Payment Required (Reserved for future use)
  4. 403 Forbidden
  5. 404 Not Found
  6. 405 Method Not Allowed
  7. 406 Not Acceptable
  8. 407 Proxy Authentication Required
  9. 408 Request Timeout
  10. 409 Conflict
  11. 410 Gone
  1. 400 Bad Request: The server cannot process the request due to malformed syntax or invalid parameters in the client’s request.
  2. 401 Unauthorized: Authentication is required, and the provided credentials are missing or invalid.
  3. 403 Forbidden: The client’s request is understood, but it’s refused due to lack of permission.
  4. 404 Not Found: The requested resource could not be found on the server.
  5. 405 Method Not Allowed: The requested HTTP method is not supported for the target resource.
  6. 406 Not Acceptable: The server cannot produce a response matching the list of acceptable values defined in the request’s headers.
  7. 409 Conflict: Indicates a conflict between the request and the current state of the target resource.
  8. 410 Gone: The requested resource is no longer available, and there is no forwarding address.
  9. 413 Request Entity Too Large: The request entity is larger than the server is willing to process.
  10. 429 Too Many Requests: The user has sent too many requests in a given amount of time (“rate limiting”).

5xx – Server Errors (The server failed to fulfill a valid request):

  1. 500 Internal Server Error
  2. 501 Not Implemented
  3. 502 Bad Gateway
  4. 503 Service Unavailable
  5. 504 Gateway Timeout
  6. 505 HTTP Version Not Supported
  7. 506 Variant Also Negotiates
  8. 507 Insufficient Storage
  9. 508 Loop Detected
  10. 510 Not Extended
  1. 500 Internal Server Error: The server has encountered an unexpected condition that prevented it from fulfilling the request.
  2. 501 Not Implemented: The server does not support the functionality required to fulfill the request.
  3. 502 Bad Gateway: The server, acting as a gateway or proxy, received an invalid response from an upstream server.
  4. 503 Service Unavailable: The server is temporarily unable to handle the request due to overloading or maintenance.
  5. 504 Gateway Timeout: The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
  6. 505 HTTP Version Not Supported: The server does not support the HTTP protocol version used in the request.
  7. 507 Insufficient Storage: The server is unable to store the representation needed to complete the request.
  8. 508 Loop Detected: The server detected an infinite loop while processing the request.
  9. 510 Not Extended: Further extensions to the request are required for the server to fulfill it.
  10. 511 Network Authentication Required: The client needs to authenticate to access the network.

By davs