Status Code Description
100 (Continue) | Indicates that the server has received the first part of the request and the rest of the request should be sent. |
200 (OK) | Indicates that all went well with the request. |
201 (Created) | Indicates that request was completed and a new resource got created. |
202 (Accepted) | Indicates that request has been accepted but is still being processed. |
204 (No Content) | Indicates that the server has completed the request and has no entity body to send to the client. |
301 (Moved Permanently) | Indicates that the requested resource has been moved to a new location and a new URI needs to be used to access the resource. |
400 (Bad Request) | Indicates that the request is malformed and the server is not able to understand the request. |
401 (Unauthorized) | Indicates that the client needs to authenticate before accessing the resource. If the request already contains client’s credentials, then a 401 indicates invalid credentials (e.g., bad password). |
403 (Forbidden) | Indicates that the server understood the request but is refusing to fulfill it. This could be because the resource is being accessed from a blacklisted IP address or outside the approved time window. |
404 (Not Found) | Indicates that the resource at the requested URI doesn’t exist. |
406 (Not Acceptable) | Indicates that the server is capable of processing the request; however, the generated response may not be acceptable to the client. This happens when the client becomes too picky with its accept headers. |
500 (Internal Server Error) | Indicates that there was an error on the server while processing the request and that the request can’t be completed. |
503 (Service Unavailable) | Indicates that the request can’t be completed, as the server is overloaded or going through scheduled maintenance. |