Referência de Códigos HTTP
Consulte códigos de status HTTP com descrições, casos de uso e exemplos.
The server has received the request headers and the client should proceed to send the request body.
Caso de uso: Used in POST requests with large bodies; client checks if server will accept before sending.
The server agrees to switch protocols as requested by the client.
Caso de uso: WebSocket upgrade from HTTP to WS protocol.
The server has received and is processing the request, but no response is available yet.
Caso de uso: Long-running operations to prevent client timeout.
Used to return some response headers before final HTTP message.
Caso de uso: Preloading resources before the main response is ready.
The request succeeded. The meaning depends on the HTTP method used.
Caso de uso: Standard success response for GET, POST, PUT requests.
The request succeeded and a new resource was created as a result.
Caso de uso: Returned after a successful POST that creates a new resource.
The request has been accepted for processing, but processing has not been completed.
Caso de uso: Async operations where processing happens in background.
The server successfully processed the request and is not returning any content.
Caso de uso: DELETE requests, or PUT/PATCH with no response body needed.
The server is delivering only part of the resource due to a Range header sent by the client.
Caso de uso: Video streaming, resumable file downloads.
The requested resource has been permanently moved to a new URL.
Caso de uso: Permanent redirects; SEO-friendly for URL changes.
The resource is temporarily under a different URI.
Caso de uso: Temporary redirects, login redirects.
The resource has not been modified since the last request.
Caso de uso: Browser caching; server confirms cached version is still valid.
The request should be repeated with another URI but future requests can still use the original URI.
Caso de uso: Temporary redirect that preserves the HTTP method.
The request and all future requests should be repeated using another URI.
Caso de uso: Permanent redirect that preserves the HTTP method.
The server could not understand the request due to invalid syntax.
Caso de uso: Malformed JSON, missing required fields, invalid parameters.
The client must authenticate itself to get the requested response.
Caso de uso: Missing or invalid authentication token.
The client does not have access rights to the content.
Caso de uso: Authenticated but not authorized; access denied to resource.
The server can not find the requested resource.
Caso de uso: Invalid URL, deleted resource, or hidden resource.
The request method is known by the server but is not supported by the target resource.
Caso de uso: POST to a read-only endpoint, DELETE on non-deletable resource.
The server would like to shut down this unused connection.
Caso de uso: Client took too long to send a complete request.
The request conflicts with the current state of the server.
Caso de uso: Duplicate resource creation, version conflicts.
The requested content has been permanently deleted from the server.
Caso de uso: Deliberately removed resources; stronger signal than 404.
The request was well-formed but was unable to be followed due to semantic errors.
Caso de uso: Validation errors — correct format but invalid data.
The user has sent too many requests in a given amount of time (rate limiting).
Caso de uso: API rate limiting, DDoS protection.
The server encountered an unexpected condition that prevented it from fulfilling the request.
Caso de uso: Unhandled exceptions, server-side bugs.
The server does not support the functionality required to fulfill the request.
Caso de uso: HTTP method not recognized or supported by server.
The server, while acting as a gateway, received an invalid response from an upstream server.
Caso de uso: Reverse proxy issues, upstream server errors.
The server is not ready to handle the request.
Caso de uso: Server maintenance, overloaded server.
The server is acting as a gateway and cannot get a response in time.
Caso de uso: Upstream server too slow, network timeouts.
The HTTP version used in the request is not supported by the server.
Caso de uso: Client using unsupported HTTP version.
Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.