πŸ“šHttp Status

Describe the meaning of each http status response

HTTP status indicates what kind of action has occurred in the system.

We will display only important HTTP statuses

Type of Http status

  1. Successful responses (200–299)

  2. Redirection messages (300–399)

  3. Client error responses (400–499)

  4. Server error responses (500–599)

Success Response (200 -299)

  1. 200 OK is a status indicating that this request was processed successfully, but its meaning depends on the HTTP method

  • GET = Fetch success

  • HEAD = Header response with no body

  • PUT or POST = Send data success

2. 201 Created

this status is used for PUT or POST indicating that the resource was created

Client error response (400 -499)

  1. 400 Bad request = Incorrect data sent to server

  2. 401 Unauthorized = Client didn't authenticate

  3. 403 Forbidden client = Client didn't have a permission

  4. 404 Not found =URL not found in the system. May hide 403 errors from clients

Server Response (500 -599)

  1. 500 Internal Server Error = Server has unknown error

  2. 503 Service Unavailable = Server not ready to receive requests or server is shutting down

  3. 504 Gateway Timeout = Server does not receive response within specified time

Last updated