Referência de Códigos de Status HTTP

Referência pesquisável de todos os códigos de status HTTP agrupados por classe (1xx–5xx) com nomes e descrições.

Digite um código (ex: 404) ou uma palavra-chave (ex: redirecionamento)

1xx

1xx — Informativo

100

Continue

The server has received the request headers and the client should proceed to send the request body.

101

Switching Protocols

The server agrees to switch protocols as requested by the client via the Upgrade header.

102

Processing

The server has received and is processing the request, but no response is available yet.

103

Early Hints

Used to return some response headers before the final HTTP message, allowing the client to preload resources.

2xx

2xx — Sucesso

200

OK

The request succeeded. The response body contains the requested data.

201

Created

The request succeeded and a new resource was created. Typically returned after POST or PUT requests.

202

Accepted

The request has been accepted for processing, but the processing has not been completed yet.

204

No Content

The request succeeded but there is no content to send in the response body.

206

Partial Content

The server delivers only part of the resource due to a range header sent by the client.

207

Multi-Status

Conveys information about multiple resources, used in WebDAV when the response may contain multiple status codes.

3xx

3xx — Redirecionamento

301

Moved Permanently

The requested resource has been permanently moved to a new URL. Clients should update their bookmarks.

302

Found

The resource is temporarily at a different URL. The client should continue using the original URL for future requests.

303

See Other

The server directs the client to get the requested resource at another URL using a GET request.

304

Not Modified

The resource has not been modified since the last request. The client can use the cached version.

307

Temporary Redirect

The resource is temporarily at a different URL. Unlike 302, the request method must not change.

308

Permanent Redirect

The resource has permanently moved to a new URL and the request method must not change.

4xx

4xx — Erros do Cliente

400

Bad Request

The server cannot process the request due to malformed syntax, invalid framing, or deceptive request routing.

401

Unauthorized

Authentication is required and has failed or has not yet been provided.

403

Forbidden

The server understood the request but refuses to authorize it. Authentication will not help.

404

Not Found

The server cannot find the requested resource. The URL is not recognized or the resource does not exist.

405

Method Not Allowed

The HTTP method used in the request is not allowed for the target resource.

408

Request Timeout

The server timed out waiting for the request. The client may repeat the request without modification.

409

Conflict

The request conflicts with the current state of the target resource.

410

Gone

The resource is no longer available and no forwarding address is known. This condition is expected to be permanent.

413

Content Too Large

The request body is larger than the limits defined by the server.

415

Unsupported Media Type

The media format of the requested data is not supported by the server.

422

Unprocessable Entity

The request was well-formed but was unable to be followed due to semantic errors.

429

Too Many Requests

The user has sent too many requests in a given amount of time (rate limiting).

5xx

5xx — Erros do Servidor

500

Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.

501

Not Implemented

The server does not support the functionality required to fulfill the request.

502

Bad Gateway

The server, acting as a gateway or proxy, received an invalid response from the upstream server.

503

Service Unavailable

The server is not ready to handle the request. Common causes are overloading or maintenance.

504

Gateway Timeout

The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.

505

HTTP Version Not Supported

The HTTP version used in the request is not supported by the server.

Referência de Códigos de Status HTTP

Os códigos de status HTTP são números de três dígitos retornados por um servidor web para indicar o resultado de uma requisição do cliente. Eles são agrupados em cinco classes: respostas informativas 1xx, códigos de sucesso 2xx, redirecionamentos 3xx, erros do cliente 4xx e erros do servidor 5xx. Entender esses códigos é essencial para depurar APIs, aplicações web e requisições de rede.

Esta referência cobre todos os códigos de status HTTP mais utilizados, definidos na RFC 9110 e especificações relacionadas. Use a caixa de busca para filtrar instantaneamente os códigos por número ou palavra-chave — útil ao diagnosticar problemas em logs de servidor, ferramentas de desenvolvedor do navegador ou respostas de API.

Como funciona

Os códigos de status HTTP seguem uma classificação estruturada: 1xx = informativo (requisição recebida, processando), 2xx = sucesso (requisição recebida, entendida e aceita), 3xx = redirecionamento (ação adicional necessária), 4xx = erro do cliente (sintaxe incorreta ou requisição não pode ser atendida), 5xx = erro do servidor (servidor falhou em atender uma requisição válida).

Casos de uso

  • Depurar respostas de APIs REST e entender mensagens de erro
  • Configurar redirecionamentos em servidores web (301, 302, 307, 308)
  • Diagnosticar falhas de autenticação e autorização (401, 403)
  • Identificar problemas de limitação de taxa e capacidade em produção (429, 503)
  • Construir clientes HTTP e tratar cenários específicos de resposta programaticamente

Calculadoras Relacionadas