Command Palette

Search for a command to run...

Référence des codes d'état HTTP

Liste consultable de chaque code d'état HTTP avec sa signification, sa catégorie et la RFC qui le définit Recherchez 200, 301, 404, 500 et plus encore.

100

Continue

RFC 9110

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

101

Switching Protocols

RFC 9110

The server is switching protocols as requested by the client in the Upgrade header, for example to WebSocket.

102

Processing

RFC 2518

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

103

Early Hints

RFC 8297

Returns some response headers before the final response so the client can start preloading resources.

200

OK

RFC 9110

The request succeeded. The meaning of success depends on the HTTP method used.

201

Created

RFC 9110

The request succeeded and a new resource was created, usually in response to POST or PUT.

202

Accepted

RFC 9110

The request was accepted for processing, but the processing has not completed and may still fail.

203

Non-Authoritative Information

RFC 9110

The returned metadata is from a local or third-party copy rather than the origin server.

204

No Content

RFC 9110

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

205

Reset Content

RFC 9110

The request succeeded and the client should reset the document view that sent the request.

206

Partial Content

RFC 9110

The server is delivering only part of the resource in response to a Range header, used for resumable downloads.

207

Multi-Status

RFC 4918

Conveys information about multiple resources where several status codes apply. Used by WebDAV.

208

Already Reported

RFC 5842

The members of a WebDAV binding have already been enumerated and are not being included again.

226

IM Used

RFC 3229

The server fulfilled a GET request and the response represents the result of instance manipulations applied.

300

Multiple Choices

RFC 9110

The request has more than one possible response and the client should choose one of them.

301

Moved Permanently

RFC 9110

The resource has permanently moved to a new URL given in the Location header. Search engines update their links.

302

Found

RFC 9110

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

303

See Other

RFC 9110

The response is at another URL that should be retrieved with a GET request. Common after a form POST.

304

Not Modified

RFC 9110

The cached copy is still valid, so the server sends no body. Used with conditional requests to save bandwidth.

307

Temporary Redirect

RFC 9110

The resource is temporarily at another URL and the client must reuse the same HTTP method and body.

308

Permanent Redirect

RFC 9110

The resource has permanently moved and the client must reuse the same HTTP method and body.

400

Bad Request

RFC 9110

The server cannot process the request because of a client error such as malformed syntax or invalid framing.

401

Unauthorized

RFC 9110

Authentication is required and has failed or not been provided. The response includes a WWW-Authenticate header.

402

Payment Required

RFC 9110

Reserved for future use. Occasionally used by APIs to signal that a paid plan or quota is required.

403

Forbidden

RFC 9110

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

404

Not Found

RFC 9110

The server cannot find the requested resource. The URL may be wrong or the resource may have been removed.

405

Method Not Allowed

RFC 9110

The request method is known but not supported by the target resource, for example POST to a read-only endpoint.

406

Not Acceptable

RFC 9110

The resource cannot produce a response matching the Accept headers sent by the client.

407

Proxy Authentication Required

RFC 9110

The client must first authenticate with a proxy before the request can proceed.

408

Request Timeout

RFC 9110

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

409

Conflict

RFC 9110

The request conflicts with the current state of the resource, such as an edit that clashes with another change.

410

Gone

RFC 9110

The resource is permanently gone with no forwarding address. More specific and final than 404.

411

Length Required

RFC 9110

The server refuses the request because it lacks a defined Content-Length header.

412

Precondition Failed

RFC 9110

A precondition in the request headers, such as If-Match, evaluated to false on the server.

413

Content Too Large

RFC 9110

The request body is larger than the server is willing or able to process. Formerly Payload Too Large.

414

URI Too Long

RFC 9110

The requested URI is longer than the server is willing to interpret, often from too many query parameters.

415

Unsupported Media Type

RFC 9110

The request body is in a format the resource does not support, such as an unexpected Content-Type.

416

Range Not Satisfiable

RFC 9110

The Range header requests a portion the server cannot supply, for example beyond the end of the file.

417

Expectation Failed

RFC 9110

The expectation in the Expect request header could not be met by the server.

418

I'm a Teapot

RFC 2324

An April Fools joke code from 1998 that returns when a teapot is asked to brew coffee. Sometimes used as an easter egg.

421

Misdirected Request

RFC 9110

The request was sent to a server that cannot produce a response for the combination of scheme and authority.

422

Unprocessable Content

RFC 9110

The request is well formed but has semantic errors that prevent processing, common in API validation failures.

423

Locked

RFC 4918

The resource being accessed is locked. Used by WebDAV.

424

Failed Dependency

RFC 4918

The request failed because it depended on another request that failed. Used by WebDAV.

425

Too Early

RFC 8470

The server is unwilling to risk processing a request that might be replayed.

426

Upgrade Required

RFC 9110

The client should switch to a different protocol given in the Upgrade header, such as a newer TLS version.

428

Precondition Required

RFC 6585

The origin server requires the request to be conditional to prevent lost-update conflicts.

429

Too Many Requests

RFC 6585

The client has sent too many requests in a given time. Rate limiting responses often include a Retry-After header.

431

Request Header Fields Too Large

RFC 6585

The server refuses the request because the header fields are too large, individually or in total.

451

Unavailable For Legal Reasons

RFC 7725

The resource is unavailable because of a legal demand, such as a government censorship order.

500

Internal Server Error

RFC 9110

A generic error meaning the server hit an unexpected condition and cannot give a more specific message.

501

Not Implemented

RFC 9110

The server does not support the functionality required to fulfil the request, such as an unknown method.

502

Bad Gateway

RFC 9110

A server acting as a gateway or proxy received an invalid response from an upstream server.

503

Service Unavailable

RFC 9110

The server is temporarily unable to handle the request, usually from overload or maintenance. Retry later.

504

Gateway Timeout

RFC 9110

A gateway or proxy did not get a timely response from the upstream server it needed to complete the request.

505

HTTP Version Not Supported

RFC 9110

The server does not support the HTTP protocol version used in the request.

506

Variant Also Negotiates

RFC 2295

A content negotiation configuration error caused the chosen variant to itself engage in negotiation.

507

Insufficient Storage

RFC 4918

The server cannot store the representation needed to complete the request. Used by WebDAV.

508

Loop Detected

RFC 5842

The server detected an infinite loop while processing the request. Used by WebDAV.

510

Not Extended

RFC 2774

Further extensions to the request are required for the server to fulfil it.

511

Network Authentication Required

RFC 6585

The client must authenticate to gain network access, typically shown by a captive portal on public Wi-Fi.

Category:web
Mode:Offline
Version:1.0.0
Access:Free

Que sont les codes d'état HTTP ?

Les codes d'état HTTP sont des numéros à trois chiffres qu'un serveur renvoie à chaque réponse pour indiquer au client ce qui est arrivé à sa demande Un code de 200 signifie que la requête a réussi, 404 signifie que la page n'a pas été trouvée et 500 signifie que le serveur a frappé une erreur Cette référence répertorie chaque code d'état standard défini par l'Internet Engineering Task Force, regroupé par classe, avec une explication en anglais simple de ce que chacun signifie et un lien vers la spécification qui le définit Vous pouvez effectuer une recherche par numéro, par nom ou par un mot de la description.

Les codes d'état se répartissent en cinq classes identifiées par leur premier chiffre La classe 1xx est informative et signale que la requête a été reçue et que le traitement se poursuit La classe 2xx signifie succès, donc la requête a été reçue, comprise et acceptée La classe 3xx est redirection, indiquant au client que la ressource vit ailleurs ou n'a pas changé La classe 4xx est une erreur client, ce qui signifie que la requête a été mal formée ou n'a pas été autorisée La classe 5xx est une erreur serveur, où la requête était valide mais le serveur n'a pas réussi à la remplir Connaître la classe seule vous indique s'il faut corriger votre requête ou regarder le serveur.

Les développeurs recherchent constamment une référence de code d'état Les ingénieurs front-end déboguent pourquoi un appel API renvoie 401 au lieu de 200, les développeurs back-end décident d'envoyer 400 ou 422 pour un échec de validation, et les spécialistes SEO vérifient qu'une page déplacée renvoie 301 plutôt que 302 afin que les moteurs de recherche transfèrent son classement Cet outil s'exécute entièrement dans votre navigateur, donc les recherches sont instantanées et rien n'est envoyé à un serveur Il fonctionne hors ligne une fois chargé et est gratuit sans compte requis, ce qui en fait un onglet rapide à maintenir ouvert lors de la création ou du débogage de tout service Web.

Comment utiliser la référence HTTP Status Codes ?

1

Recherche par code ou nom

Tapez un nombre comme 404, une phrase comme « not found », ou un mot clé comme « rediriger » dans le champ de recherche pour filtrer la liste instantanément.

2

Filtrer par classe

Réduisez la liste à une catégorie (1xx, 2xx, 3xx, 4xx ou 5xx) pour parcourir uniquement les codes d'information, de réussite, de redirection, d'erreur client ou d'erreur serveur.

3

Lire le sens

Chaque ligne affiche la phrase de raison, une description claire du moment où le code est utilisé et la RFC qui le définit.

4

Copiez le code ou la phrase

Copiez un code d'état et sa phrase de raison en un clic pour coller dans la documentation, les tests ou les réponses API.

Principales caractéristiques

Registre complet de l'IANA

Couvre tous les codes standards de 100 à 511, y compris les codes WebDAV et limitatifs de débit, regroupés par classe.

Recherche instantanée

Correspondre par numéro, phrase de raison ou description, donc 404, « introuvable » et « page manquante » trouvent tous la bonne entrée.

Filtres de classe

Passez directement aux codes 1xx, 2xx, 3xx, 4xx ou 5xx pour vous concentrer sur les redirections, les erreurs client ou les erreurs serveur.

Citations de spécifications

Chaque code nomme la RFC qui le définit, afin que vous puissiez confirmer votre comportement par rapport à la source principale.

Frequently Asked Questions

Les codes d'état HTTP sont regroupés par leur premier chiffre : informationnel 1 xx, succès 2 xx, redirection 3 xx, erreur client 4 xx et erreur serveur 5 xx La classe vous indique en un coup d'œil si une requête a réussi, a été redirigée ou a échoué du côté client ou serveur.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

http status codeshttp status code list404 error500 errorhttp response codesstatus code meaninghttp 200rest api status codes301 redirect