HTTP Status Codes Explained: What Every Number Tells Client and Server
HTTP status codes are standardized three-digit responses that servers send back to clients after every web request, as defined by RFC 9110. They are grouped into five families: 1xx for informational, 2xx for success, 3xx for redirection, 4xx for client-side errors, and 5xx for server-side failures. Common examples include 200 OK for successful requests, 400 Bad Request when the client sends invalid data, and 500 Internal Server Error when the server encounters an unexpected fault. These codes serve as the core language of web communication, helping developers diagnose issues and build more reliable applications. Understanding them allows teams to quickly identify whether a problem originates on the client side, the server side, or somewhere in between.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in