Understanding HTTP Status Codes
When your browser or application sends an HTTP request to a server, the server responds with a 3-digit status code. These codes indicate whether a specific HTTP request has been successfully completed.
Responses are grouped into five classes based on the first digit:
1xx: Informational
The request was received, continuing process. (e.g., 100 Continue).
2xx: Success
The action was successfully received, understood, and accepted. (e.g., 200 OK, 201 Created).
3xx: Redirection
Further action must be taken in order to complete the request. Usually used for URL redirects. (e.g., 301 Moved Permanently).
4xx: Client Error
The request contains bad syntax or cannot be fulfilled. This implies the error is on the user’s or client’s end. (e.g., 400 Bad Request, 401 Unauthorized, 404 Not Found).
5xx: Server Error
The server failed to fulfill an apparently valid request. (e.g., 500 Internal Server Error, 502 Bad Gateway).