./prontouso

Consulta de Códigos HTTP

Busque códigos de status HTTP comuns por número, nome ou palavra-chave para ver o que cada um significa e a que categoria pertence.

Roda localmente no seu navegador. Esta ferramenta não faz upload da sua entrada.
CódigoNomeDescrição
100ContinueThe initial part of the request was received; the client should continue with the body.
101Switching ProtocolsThe server agrees to switch protocols as requested by the client.
103Early HintsPreliminary headers sent before the final response, used for preloading resources.
200OKThe request succeeded.
201CreatedThe request succeeded and a new resource was created.
202AcceptedThe request was accepted for processing, but processing isn't complete.
204No ContentThe request succeeded but there is no content to return.
206Partial ContentOnly part of the requested resource is being returned (range requests).
301Moved PermanentlyThe resource has permanently moved to a new URL.
302FoundThe resource temporarily resides at a different URL.
303See OtherThe response can be found at a different URL, fetched with GET.
304Not ModifiedThe cached version of the resource is still valid; no body is returned.
307Temporary RedirectThe resource temporarily resides at a different URL; method must not change.
308Permanent RedirectThe resource permanently resides at a different URL; method must not change.
400Bad RequestThe server could not understand the request due to invalid syntax.
401UnauthorizedAuthentication is required and has failed or not been provided.
402Payment RequiredReserved for future use; occasionally used for payment/quota systems.
403ForbiddenThe client does not have access rights to the content.
404Not FoundThe server cannot find the requested resource.
405Method Not AllowedThe request method is known but not supported for this resource.
406Not AcceptableNo content matching the client's Accept headers was found.
408Request TimeoutThe server timed out waiting for the request.
409ConflictThe request conflicts with the current state of the resource.
410GoneThe resource is no longer available and will not be available again.
411Length RequiredThe request did not specify the length of its content.
413Payload Too LargeThe request body is larger than the server is willing to process.
414URI Too LongThe requested URI is longer than the server is willing to interpret.
415Unsupported Media TypeThe media format of the request body is not supported.
416Range Not SatisfiableThe requested range cannot be fulfilled.
418I'm a TeapotA humorous status defined in RFC 2324; not seriously used by real servers.
422Unprocessable ContentThe request was well-formed but contains semantic errors.
425Too EarlyThe server is unwilling to process a request that might be replayed.
429Too Many RequestsThe client has sent too many requests in a given time (rate limiting).
431Request Header Fields Too LargeThe request's header fields are too large.
451Unavailable For Legal ReasonsThe resource is unavailable for legal reasons (e.g. censorship).
500Internal Server ErrorThe server encountered an unexpected condition.
501Not ImplementedThe server does not support the functionality required.
502Bad GatewayThe server, acting as a gateway, received an invalid response upstream.
503Service UnavailableThe server is not ready to handle the request (overload or maintenance).
504Gateway TimeoutThe server, acting as a gateway, did not get a response in time.
505HTTP Version Not SupportedThe server does not support the HTTP protocol version used.

Como consultar um código de status HTTP

Busque códigos de status HTTP comuns por número, nome ou palavra-chave para ver o que cada um significa.

Faixas de código de status

  • 1xx: informacional
  • 2xx: sucesso
  • 3xx: redirecionamento
  • 4xx: erro do cliente
  • 5xx: erro do servidor

Usos comuns

  • Entender o que um código de status em um log de servidor ou resposta de API realmente significa.
  • Decidir qual código de status retornar da sua própria API para uma determinada situação.

Bom saber

Alguns códigos são raramente usados na prática (como o 418), enquanto outros são essenciais para o comportamento correto do cliente, como o 304 para cache ou o 429 para limitação de taxa.

Notas de referência

Esta é uma lista de referência estática — nenhum dado digitado é enviado a lugar nenhum.

Perguntas frequentes

Essa lista traz todos os códigos possíveis?

Ela cobre os códigos comumente usados no dia a dia de desenvolvimento web, não todos os códigos já registrados.

Posso buscar por uma descrição parcial?

Sim — buscar por "timeout" ou "redirecionamento", por exemplo, encontra todos os códigos correspondentes.

Códigos customizados ou não padronizados estão incluídos?

Não — apenas os códigos formalmente registrados na IANA estão listados aqui, não códigos específicos de aplicação ou não padronizados usados por algumas APIs.