Codici di stato HTTP

Riferimento dei codici di risposta HTTP più comuni con spiegazioni brevi — per debug delle richieste, documentazione delle API e revisione delle risposte del server.

Use the jump links to move between response classes and keep a quick lookup nearby while working with APIs.

HTTP response code table

Code Name Meaning

1xx Informational

Informational responses indicate that the request was received and processing can continue.

2xx Success

Success responses indicate the request was received, understood and accepted.

3xx Redirection

Redirection responses tell the client that additional action is needed to complete the request.

4xx Client Errors

Client error responses indicate a problem with the request itself, authentication or permissions.

5xx Server Errors

Server error responses indicate the server failed while trying to handle an apparently valid request.

Esempi

200 OK
404 Not Found
503 Service Unavailable

FAQ

Cos'è HTTP 404?

HTTP 404 significa che la risorsa richiesta non è stata trovata all'URL indicato.

Qual è la differenza tra 301 e 302?

Un redirect 301 è considerato permanente, mentre 302 segnala in genere uno spostamento temporaneo.

Cosa significa 503?

HTTP 503 significa che il servizio è temporaneamente non disponibile, spesso per manutenzione o sovraccarico.