HTTP Status Code Reference

Complete reference for all HTTP status codes. Search by code or name. Covers 1xx through 5xx.

100

Continue

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

101

Switching Protocols

The server is switching protocols as requested by the client (e.g., upgrading to WebSocket).

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 requests.

204

No Content

The request succeeded but there is no content to return. Common for DELETE requests.

206

Partial Content

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

301

Moved Permanently

The resource has been permanently moved to a new URL. Browsers and search engines update their records.

302

Found (Temporary Redirect)

The resource is temporarily at a different URL. The original URL should be used for future requests.

304

Not Modified

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

307

Temporary Redirect

Like 302 but the HTTP method must not change. A POST request stays a POST after redirect.

308

Permanent Redirect

Like 301 but the HTTP method must not change. A POST request stays a POST after redirect.

400

Bad Request

The server cannot process the request due to malformed syntax, invalid parameters, or missing required fields.

401

Unauthorized

Authentication is required. The client must authenticate itself to get the requested response.

403

Forbidden

The client is authenticated but does not have permission to access the resource.

404

Not Found

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

405

Method Not Allowed

The HTTP method used is not allowed for this resource (e.g., sending POST to a GET-only endpoint).

408

Request Timeout

The server timed out waiting for the request. The client may retry the request.

409

Conflict

The request conflicts with the current state of the resource (e.g., duplicate entry, version conflict).

410

Gone

The resource has been permanently deleted and will not be available again. Unlike 404, this is intentional.

422

Unprocessable Entity

The request is well-formed but contains semantic errors. Common in REST APIs for validation failures.

429

Too Many Requests

The client has sent too many requests in a given time period. Rate limiting is in effect.

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, received an invalid response from an upstream server.

503

Service Unavailable

The server is temporarily unable to handle the request due to overload or maintenance.

504

Gateway Timeout

The server, acting as a gateway, did not receive a timely response from an upstream server.