HTTP status codes are an essential part of the HTTP protocol, providing information about the response from a server to a client's request. Here's a brief overview of some commonly encountered status codes.

Common HTTP Status Codes

  • 1xx Informational: These status codes indicate that the request has been received and understood, but the process is not yet complete.

    • 100 Continue: Request received, please continue.
    • 101 Switching Protocols: The server is switching protocols.
  • 2xx Success: These status codes indicate that the request was successfully received, understood, and accepted.

    • 200 OK: Standard response for a successful request.
    • 201 Created: The request has been fulfilled and resulted in a new resource being created.
  • 3xx Redirection: These status codes indicate that further action is required to complete the request.

    • 301 Moved Permanently: The requested resource has been permanently moved to a new URL.
    • 302 Found: The requested resource has been temporarily moved to a new URL.
  • 4xx Client Errors: These status codes indicate that the request contains bad syntax or cannot be fulfilled.

    • 400 Bad Request: The request could not be understood by the server.
    • 404 Not Found: The requested resource could not be found on the server.
  • 5xx Server Errors: These status codes indicate that the server failed to fulfill an apparently valid request.

    • 500 Internal Server Error: A generic error message, given when an unexpected condition was encountered.
    • 503 Service Unavailable: The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

Learn More

For more detailed information about HTTP status codes, you can visit our comprehensive guide on HTTP Status Codes.

HTTP Status Codes