What do you understand by the HTTP Status Codes ? Last Updated : 23 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The HTTP or the HyperText Transfer Protocol is a protocol of the application layer. It helps in establishing communication between a web browser and a web server. When a client requests any information, the browser sends a response using numeric status codes. These status codes are in the form of 3-digit numbers ranging from 100 - 599. The client then acts on the response accordingly. The client may not always fully understand the status code or the response but may understand the nature/class of the response by seeing the leftmost/first digit of the numeric status code. The HTTP status codes can be categorized into five standard classes using their first digit: 1xx - This stands for an informational response, that is, the request was received, continuing process, and should wait for the final response.2xx - This stands for a successful response, that is, the request was successfully received, understood, and accepted.3xx - This stands for redirection response, that is, some further action needs to be taken in order to complete the request.4xx - This stands for client error, that is, the request contains bad syntax or cannot be fulfilled.5xx - This stands for server error, that is, the server failed to fulfill an apparently valid request. The other two digits have no such significant role when defining the classes. A few examples of each class of status code have been mentioned below: 101 - Switching Protocols - It means the server has been asked to switch protocols and the server has agreed to do so.102 - Processing - It means that the request may contain many sub-requests like file operations, which may take a long time to complete. This helps in preventing the client from assuming that the request has timed out.200 - OK - This is a standard response to all the successful HTTP requests.202 - Accepted - This means that the request has been accepted by the server and is not completed yet.307 - Temporary Redirect - This means that the current request that is being sent to the server should be repeated with another URL. The future requests would still be sent to the original URL.308 - Permanent Redirect - Unlike the previous one, here the current and all the future requests will be redirected to another given URL.404 - Not Found - This means simply that the request been sent has not been found but it might be available in the future.424 - Failed Dependency - It means the request failed because it depended on another request and that request also failed.500 - Internal Server Error - A standard error message when some unexpected situation occurs and the server doesn't exactly know what it is.504 - Gateway Timeout - This means that the server did not receive a response in time. Comment More infoAdvertise with us Next Article HTTP status codes | Client Error Responses Y yuvrajgrover Follow Improve Article Tags : Websites & Apps HTTP- response-status-codes Similar Reads What are HTTP Status Codes ? HTTP Protocol is used everywhere from the server page to each service communication, deploying service to monitoring service. HTTP codes give an extension of HTTP protocol to debug network problems using curl, telnet able to check server availability, service responses HTTP status code is used for s 8 min read HTTP status codes | Server Error Responses HTTP status codes is a conversation between your browser and the site server. The server gives responses to the browser's request in the form of a three-digit code known as HTTP status codes. Categories of HTTP status codes are. Informational responses (100â199) Successful responses (200â299) Redire 3 min read Can you console all HTTP status code in Node.js ? NodeJS is a runtime environment built to run Javascript outside the browser. It is widely used to build servers at the backend, which interact with the frontend such as websites, mobile applications, and many more. In this article, We will check whether we can console all HTTP status codes in NodeJS 3 min read JSP - HTTP Status Codes When the Client makes any requests to the server, the Status Codes are issued by the server as a response to the client's request. So, in an application, we have the client and the server architecture. The server is the part that holds the particular web service or an API. The client is the actor wh 4 min read HTTP status codes | Client Error Responses The browser and the site server have a conversation in the form of HTTP status codes. The server gives responses to the browserâs request in the form of a three-digit code known as HTTP status codes. The categorization of HTTP status codes is done in five sections which are listed below. Information 4 min read Servlet - HTTP Status Codes For each HTTP request and HTTP response, we have messages. The format of the HTTP request and HTTP response messages are similar and will have the following structure â An initial status line + CRLFCRLF = Â ( Carriage Return + Line Feed i.e. New Line )Zero or more header lines + CRLFA blank line, i.e 4 min read Like