When a client sends a request to a server, the server returns a response that includes a status code. This status code informs the client about the outcome of the request processing.
Status codes are three-digit numbers that are categorized into several groups based on their value and purpose. Status Code Groups:
|
Status Code |
Description |
Example |
|
1xx |
Informational |
100 Continue |
|
2xx |
Success |
200 OK |
|
3xx |
Redirection |
301 Moved Permanently |
|
4xx |
Client Errors |
404 Not Found |
|
5xx |
Server Errors |
500 Internal Server Error |