Sobes.tech
Middle

What groups of status codes do you know? Describe the groups and their meanings.

sobes.tech AI

Answer from AI

HTTP status codes are divided into five groups based on the first digit:

1xx — Informational: indicate that the request has been received and is being processed (e.g., 100 Continue).

2xx — Success: the request was successfully processed (e.g., 200 OK, 201 Created).

3xx — Redirection: the client must take additional actions to complete the request (e.g., 301 Moved Permanently, 302 Found).

4xx — Client errors: the request contains an error or cannot be fulfilled due to client actions (e.g., 400 Bad Request, 404 Not Found).

5xx — Server errors: the server failed to fulfill a valid request due to internal problems (e.g., 500 Internal Server Error, 503 Service Unavailable).