HTTP-коды ответов

Справочник самых распространённых HTTP-кодов ответа с короткими пояснениями — для отладки запросов, документации API и анализа ответов сервера.

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.

Примеры

200 OK
404 Not Found
503 Service Unavailable

Частые вопросы

Что такое HTTP 404?

HTTP 404 означает, что запрошенный ресурс не найден по указанному URL.

В чём разница между 301 и 302?

Редирект 301 считается постоянным, а 302 обычно означает временное перемещение.

Что означает 503?

HTTP 503 означает, что сервис временно недоступен — часто из-за обслуживания или перегрузки.