Member-only story

Understanding HTTP Status Codes: A Comprehensive Guide

Yohan Malshika
4 min readMar 18, 2025

--

Photo by Ashwini Chaudhary(Monty) on Unsplash

HTTP (Hypertext Transfer Protocol) status codes are three-digit responses from a web server indicating the result of a client’s request. These status codes help developers and users understand the outcome of HTTP requests. They are categorized into five classes:

  1. 1xx (Informational) — The request has been received and is being processed.
  2. 2xx (Success) — The request was successful.
  3. 3xx (Redirection) — Further action is needed to complete the request.
  4. 4xx (Client Errors) — The request has an error from the client side.
  5. 5xx (Server Errors) — The server encountered an error while processing the request.

Let’s explore these categories in detail.

1xx Informational Status Codes

These codes indicate that the request has been received and is in the process of being handled.

  • 100 Continue — The client should continue sending the request body.
  • 101 Switching Protocols — The server is switching protocols as requested by the client.
  • 102 Processing — The server is processing but has not yet completed the request.
  • 103 Early Hints — Used to provide early hints about…

--

--

Yohan Malshika
Yohan Malshika

Written by Yohan Malshika

Software Engineer | .Net Developer | Technical Writer

No responses yet