What are HTTP Status Codes?

What are HTTP Status Codes?

1 Like

HTTP status codes are issued by a server in response to a client’s unique request made to the desired server.

HTTP status codes are standard response codes given by web site servers on the internet. The codes help identify the cause of the problem when a web page or other resource does not load properly.

HTTP status codes are sometimes called browser error codes or internet error codes.

For example, the HTTP status line 500: Internal Server Error is made up of the HTTP status code of 500 and the HTTP reason phrase of Internal Server Error.

The Status-Code element in a server response, is a 3-digit integer where the first digit of the Status-Code defines the class of response and the last two digits do not have any categorization role

Five categories of HTTP status code errors exist:-

1xx: Informational- It means the request has been received and the process is continuing.
2xx: Success - It means the action was successfully received, understood, and accepted.
3xx: Redirection - It means further action must be taken in order to complete the request.
4xx Client Error - It means the request contains incorrect syntax or cannot be fulfilled.
5xx Server Error - It means the server failed to fulfill an apparently valid request.