Introduction
We are going to discuss HTTP Status Codes in this article. HTTP Status codes help us to identify website errors quickly.
We will discuss,
- What is HTTP Status Codes
- Important HTTP Status codes
- 1.xxs: Information
- 2.xxs: Success
- 3.xxs: Redirection
- 4.xxs: Client error
- 5.xxs: Server error
What are HTTP Status Codes?
Let’s see the below image first and then we will discuss more about HTTP Status Codes.

Whenever the user tries to access your website, the browser sends a request to the server. The server processes the request and response with a three-digit code. That code is called the HTTP Status Code.
This HTTP Status Code gives status about conversion between browse and server and indicates success, failure, and other statuses.
I hope you got a basic idea about HTTP Status Codes.
Let’s discuss some important HTTP Status Codes.
HTTP Status Codes have five important categories,
- 1xxs – Informational:
- 2xxs – Success: Request completed and expected response given to the browser from Server.
- 3xxs – Redirection: The server received the request, but it was redirected somewhere else.
- 4xxs – Client error: The client seems to have an error or Page not found.
- 5xxs – Server errors: A valid request from the client, but it failed at the server.
Let’s discuss all of it in detail,
There are many HTTP Status codes available in each section, but we will cover important HTTP Status codes only.
1.xxs: Information Response
It informs the client that the request is continuing.
| HTTP Status Code | Details | What HTTP Status Code Indicates |
| 100 | Continue | HTTP session is in progress as expected, and asking the client to continue to the next step. The HTTP response is only sent when the client includes the HTTP header request field Expect. |
| 101 | Switching Protocols | HTTP session can continue, and the server is switching to the new protocol. The HTTP response is only sent when the client includes the HTTP header request field “Urgrade” or “Connction Upgrade”. |
| 102 | Processing | Significant delay in the HTTP Response, so inform the client not to timeout early. |
2xxs – Success
| HTTP Status Code | Details | What HTTP Status Code Indicates |
| 200 | OK | Indicate Successfully completed. |
| 201 | Created | It indicates that the Resource was successfully created by the HTTP request. |
| 202 | Accepted | HTTP Request has been received successfully, but processing is not yet completed. |
| 204 | No Content | HTTP request has been successfully completed, and there is no message body. |

Join the conversation! Your thoughts help the community grow.