Tüm Araçlar

HTTP Durum Kodları

HTTP durum kodları için eksiksiz referans

1xx Informational
100

Continue

The server has received the request headers. 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).

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 final HTTP message. Allows preloading resources.

2xx Success
200

OK

The request has succeeded. The meaning depends on the HTTP method used.

201

Created

The request has been fulfilled and a new resource has been created.

202

Accepted

The request has been accepted for processing, but processing is not yet complete.

203

Non-Authoritative Information

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

204

No Content

The server successfully processed the request but is not returning any content.

206

Partial Content

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

207

Multi-Status

Conveys information about multiple resources in situations where multiple status codes might be appropriate.

3xx Redirection
301

Moved Permanently

The resource has been permanently moved to a new URL. Future requests should use the new URL.

302

Found

The resource resides temporarily under a different URL. The client should continue to use the original URL.

303

See Other

The response to the request can be found at another URL using a GET method.

304

Not Modified

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

307

Temporary Redirect

The request should be repeated with another URL, but future requests should still use the original URL. Method must not change.

308

Permanent Redirect

The resource has been permanently moved. Similar to 301 but the method must not change.

4xx Client Error
400

Bad Request

The server cannot process the request due to something perceived to be a client error (malformed syntax, invalid parameters).

401

Unauthorized

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

402

Payment Required

Reserved for future use. Some APIs use this for rate limiting or payment-gated features.

403

Forbidden

The client does not have permission to access this resource, even with authentication.

404

Not Found

The requested resource could not be found on the server. The URL may be incorrect or the resource deleted.

405

Method Not Allowed

The HTTP method used is not supported for this resource (e.g., POST on a read-only endpoint).

406

Not Acceptable

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

408

Request Timeout

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

409

Conflict

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

410

Gone

The resource is no longer available and will not be available again. Unlike 404, this is permanent.

413

Payload Too Large

The request entity is larger than the server is willing or able to process.

414

URI Too Long

The URI provided was too long for the server to process.

415

Unsupported Media Type

The media type of the request data is not supported by the server.

422

Unprocessable Entity

The request was well-formed but semantically incorrect. Common in API validation errors.

429

Too Many Requests

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

451

Unavailable For Legal Reasons

The resource is unavailable due to legal demands (censorship, court order).

5xx Server Error
500

Internal Server Error

A generic error message when the server encounters an unexpected condition.

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 (overloaded or under maintenance).

504

Gateway Timeout

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

507

Insufficient Storage

The server is unable to store the representation needed to complete the request.

508

Loop Detected

The server detected an infinite loop while processing the request.