These codes indicate that the request was received and is being processed.
100Continue: The initial part of the request has been received, and the client should continue to send the rest of the request.101Switching Protocols: The server is switching protocols as requested by the client.
These codes indicate that the request was successfully received, understood, and accepted.
200OK: General success status code. Used for GET, PUT or DELETE requests when the operation was successful.201Created: The request was successful, and a new resource was created. Typically used for POST requests.202Accepted: The request has been accepted for processing, but processing is not complete.204No Content: The server successfully processed the request, but there's no content to send in the response. Useful for DELETE requests.
These codes indicate that further action is needed to complete the request.
301Moved Permanently: The resource requested has been permanently moved to a new URL.302Found: Similar to 301, but the resource has been temporarily moved to a different URL.304Not Modified: The resource has not been modified since the last request. Used for caching.
These codes are used when the client seems to have made an error.
400Bad Request: General error when the client sends a request that the server can't or won't process.401Unauthorized: The client must authenticate itself to get the requested response.403Forbidden: The client does not have permission to access the requested resource.404Not Found: The server can't find the requested resource. Useful for GET requests where the resource does not exist.405Method Not Allowed: The request method is known by the server but is not supported for the targeted resource.409Conflict: The request conflicts with the current state of the server. Useful for POST/PUT when there's a conflict like a unique constraint violation.415Unsupported Media Type: The media type of the request's payload is not supported by the server.422Unprocessable Entity: The server understands the content type, and the syntax of the request is correct, but it was unable to process the contained instructions. Useful when validation fails.
These codes are used when the server fails to fulfill a valid request due to an error.
500Internal Server Error: General error indicating that something has gone wrong on the server.501Not Implemented: The server does not support the functionality required to fulfill the request.502Bad Gateway: The server is acting as a gateway or proxy and received an invalid response from the upstream server.503Service Unavailable: The server is not ready to handle the request, usually because it is overloaded or under maintenance.504Gateway Timeout: The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.