Have you heard about Hack Frontend Community?Join us on Telegram!

HTTP Status Codes: 1xx, 2xx, 3xx, 4xx, 5xx Explained

HTTP status codes are three-digit codes that web server sends in response to HTTP request. These codes inform client (e.g., web browser or API) about request processing result: whether request was successful, if there's error or additional information is required to complete request.

HTTP status codes are divided into several categories depending on result type:

  1. 1xx (Informational codes) — Notify client about request receipt and processing.
  2. 2xx (Success codes) — Indicate successful request processing.
  3. 3xx (Redirection codes) — Indicate that client must perform additional actions to complete request.
  4. 4xx (Client error codes) — Errors related to incorrect client request.
  5. 5xx (Server error codes) — Server-side errors.

By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.