🛠️ToolsShed

HTTPステータスコード一覧

説明、ユースケース、例を含むHTTPステータスコードを検索します。

100
Continue1xx

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

ユースケース: Used in POST requests with large bodies; client checks if server will accept before sending.

101
Switching Protocols1xx

The server agrees to switch protocols as requested by the client.

ユースケース: WebSocket upgrade from HTTP to WS protocol.

102
Processing1xx

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

ユースケース: Long-running operations to prevent client timeout.

103
Early Hints1xx

Used to return some response headers before final HTTP message.

ユースケース: Preloading resources before the main response is ready.

200
OK2xx

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

ユースケース: Standard success response for GET, POST, PUT requests.

201
Created2xx

The request succeeded and a new resource was created as a result.

ユースケース: Returned after a successful POST that creates a new resource.

202
Accepted2xx

The request has been accepted for processing, but processing has not been completed.

ユースケース: Async operations where processing happens in background.

204
No Content2xx

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

ユースケース: DELETE requests, or PUT/PATCH with no response body needed.

206
Partial Content2xx

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

ユースケース: Video streaming, resumable file downloads.

301
Moved Permanently3xx

The requested resource has been permanently moved to a new URL.

ユースケース: Permanent redirects; SEO-friendly for URL changes.

302
Found3xx

The resource is temporarily under a different URI.

ユースケース: Temporary redirects, login redirects.

304
Not Modified3xx

The resource has not been modified since the last request.

ユースケース: Browser caching; server confirms cached version is still valid.

307
Temporary Redirect3xx

The request should be repeated with another URI but future requests can still use the original URI.

ユースケース: Temporary redirect that preserves the HTTP method.

308
Permanent Redirect3xx

The request and all future requests should be repeated using another URI.

ユースケース: Permanent redirect that preserves the HTTP method.

400
Bad Request4xx

The server could not understand the request due to invalid syntax.

ユースケース: Malformed JSON, missing required fields, invalid parameters.

401
Unauthorized4xx

The client must authenticate itself to get the requested response.

ユースケース: Missing or invalid authentication token.

403
Forbidden4xx

The client does not have access rights to the content.

ユースケース: Authenticated but not authorized; access denied to resource.

404
Not Found4xx

The server can not find the requested resource.

ユースケース: Invalid URL, deleted resource, or hidden resource.

405
Method Not Allowed4xx

The request method is known by the server but is not supported by the target resource.

ユースケース: POST to a read-only endpoint, DELETE on non-deletable resource.

408
Request Timeout4xx

The server would like to shut down this unused connection.

ユースケース: Client took too long to send a complete request.

409
Conflict4xx

The request conflicts with the current state of the server.

ユースケース: Duplicate resource creation, version conflicts.

410
Gone4xx

The requested content has been permanently deleted from the server.

ユースケース: Deliberately removed resources; stronger signal than 404.

422
Unprocessable Entity4xx

The request was well-formed but was unable to be followed due to semantic errors.

ユースケース: Validation errors — correct format but invalid data.

429
Too Many Requests4xx

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

ユースケース: API rate limiting, DDoS protection.

500
Internal Server Error5xx

The server encountered an unexpected condition that prevented it from fulfilling the request.

ユースケース: Unhandled exceptions, server-side bugs.

501
Not Implemented5xx

The server does not support the functionality required to fulfill the request.

ユースケース: HTTP method not recognized or supported by server.

502
Bad Gateway5xx

The server, while acting as a gateway, received an invalid response from an upstream server.

ユースケース: Reverse proxy issues, upstream server errors.

503
Service Unavailable5xx

The server is not ready to handle the request.

ユースケース: Server maintenance, overloaded server.

504
Gateway Timeout5xx

The server is acting as a gateway and cannot get a response in time.

ユースケース: Upstream server too slow, network timeouts.

505
HTTP Version Not Supported5xx

The HTTP version used in the request is not supported by the server.

ユースケース: Client using unsupported HTTP version.

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.