HTTP codes

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

You must sign in to write a comment