HTTP codes

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

You must sign in to write a comment