Sobes.tech
Junior — Middle

What types of response statuses are you familiar with?

sobes.tech AI

Answer from AI

In the context of HTTP and DevOps, the most well-known response status codes (HTTP statuses) are:

  • 1xx (Informational): for example, 100 Continue — the request has been received, and the process is continuing.
  • 2xx (Successful): 200 OK — the request was successfully processed; 201 Created — the resource has been created.
  • 3xx (Redirection): 301 Moved Permanently — the resource has been permanently moved; 302 Found — temporary redirection.
  • 4xx (Client errors): 400 Bad Request — the request is invalid; 401 Unauthorized — authentication is required; 404 Not Found — the resource was not found.
  • 5xx (Server errors): 500 Internal Server Error — internal server error; 503 Service Unavailable — the service is unavailable.

These statuses help the client understand the result of the request processing and take appropriate actions.