Junior — Middle
Can you name the main HTTP status codes and their meanings?
sobes.tech AI
Answer from AI
Main HTTP status codes and their meanings:
- 1xx (Informational)
- 100 Continue — the client can continue with the request
- 2xx (Success)
- 200 OK — the request was successfully processed
- 201 Created — the resource was successfully created
- 204 No Content — the request was successful, but no response body
- 3xx (Redirection)
- 301 Moved Permanently — the resource has been permanently moved
- 302 Found — temporary redirect
- 304 Not Modified — the resource has not changed, use cache
- 4xx (Client errors)
- 400 Bad Request — invalid request
- 401 Unauthorized — authentication required
- 403 Forbidden — access is denied
- 404 Not Found — resource not found
- 5xx (Server errors)
- 500 Internal Server Error — internal server error
- 502 Bad Gateway — bad gateway
- 503 Service Unavailable — service unavailable
These codes help the client understand the result of the request processing.