Member-only story

Understanding HTTP Status Codes For Programmers

Otutu Chidinma Janefrances
4 min readSep 7, 2023

HTTP status codes

image from google.com

Understanding HTTP status codes is crucial for developers who work with APIs, web services, or any client-server architecture. These three-digit codes represent the outcome of an HTTP request and are standardized across the web, allowing developers to understand the state and result of a particular request quickly.

Categorization of Status Codes

HTTP status codes are organized into five different classes:

  • 1xx: Informational Responses
  • 2xx: Successful Responses
  • 3xx: Redirection Messages
  • 4xx: Client Errors
  • 5xx: Server Errors

1xx: Informational Responses

These codes are provisional responses and are rarely encountered.

100 Continue

This code is typically sent to indicate that the initial part of a request has been received and the client should proceed to send the remaining parts.

2xx: Successful Responses

200 OK

Meaning

The 200 OK status code is probably the best-known HTTP status code. It indicates…

--

--

Otutu Chidinma Janefrances
Otutu Chidinma Janefrances

Written by Otutu Chidinma Janefrances

Software Developer | Content Creator| Writer

No responses yet