Question |
Answer |
|||
|---|---|---|---|---|
|
HTTP code 100
|
Continue Server allows client to proceed with request body Client sends large file upload
|
|||
|
HTTP code 101
|
Switching Protocols Server switches to different protocol HTTP connection upgraded to WebSocket
|
|||
|
HTTP code 200
|
OK Request processed successfully Successful GET request for resource
|
|||
|
HTTP code 201
|
Created New resource successfully created POST creates new user
|
|||
|
HTTP code 202
|
Accepted Request accepted but processing not finished Background job queued
|
|||
|
HTTP code 204
|
No Content Success with no response body DELETE resource request
|
|||
|
HTTP code 206
|
Partial Content Partial response for range request Resuming interrupted download
|
|||
|
HTTP code 301
|
Moved Permanently Permanent redirect to new URL Website moved to new domain
|
|||
|
HTTP code 302
|
Found Temporary redirect legacy behavior Temporary maintenance redirect
|
|||
|
HTTP code 304
|
Not Modified Resource not modified cached version valid Browser cache validation
|
|||
|
HTTP code 307
|
Temporary Redirect Temporary redirect method preserved Temporary API endpoint switch
|
|||
|
HTTP code 308
|
Permanent Redirect Permanent redirect method preserved API version permanently changed
|
|||
|
HTTP code 400
|
Bad Request Malformed or invalid request Invalid JSON payload
|
|||
|
HTTP code 401
|
Unauthorized Authentication required or failed Missing authentication token
|
|||
|
HTTP code 403
|
Forbidden Authenticated but access denied User lacks required role
|
|||
|
HTTP code 404
|
Not Found Resource does not exist Requesting non existing endpoint
|
|||
|
HTTP code 405
|
Method Not Allowed HTTP method not supported POST on read only endpoint
|
|||
|
HTTP code 409
|
Conflict Request conflicts with current state Updating outdated resource version
|
|||
|
HTTP code 410
|
Gone Resource permanently removed Deleted API endpoint
|
|||
|
HTTP code 415
|
Unsupported Media Type Unsupported content type Sending XML to JSON only API
|
|||
|
HTTP code 422
|
Unprocessable Content Semantic validation error Validation fails for email field
|
|||
|
HTTP code 429
|
Too Many Requests Too many requests in given time window API rate limit exceeded
|
|||
|
HTTP code 500
|
Internal Server Error Generic server side failure Unhandled exception occurs
|
|||
|
HTTP code 502
|
Bad Gateway Invalid response from upstream server Reverse proxy upstream error
|
|||
|
HTTP code 503
|
Service Unavailable Service temporarily unavailable Server overloaded
|
|||
|
HTTP code 504
|
Gateway Timeout Upstream server timeout Upstream service slow response
|
|||
|
HTTP code 418
|
I'm a teapot Server refuses to brew coffee because it is permanently a teapot. google.com/teapot
|
|||