HTTP Status Codes

1xx Informational

100Continue
101Switching Protocols
102Processing
103Early Hints

2xx Success

200OK
201Created
202Accepted
204No Content
206Partial Content
207Multi-Status

3xx Redirection

300Multiple Choices
301Moved Permanently
302Found (temp redirect)
303See Other
304Not Modified
307Temporary Redirect
308Permanent Redirect

4xx Client Errors

400Bad Request
401Unauthorized
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
408Request Timeout
409Conflict
410Gone
413Payload Too Large
415Unsupported Media Type
418I'm a Teapot
422Unprocessable Entity
429Too Many Requests

5xx Server Errors

500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported
507Insufficient Storage
511Network Auth Required

HTTP Methods

GETRetrieve resource
POSTCreate resource
PUTReplace resource
PATCHPartial update
DELETERemove resource
HEADGET without body
OPTIONSSupported methods (CORS)
TRACELoop-back test

Common Headers

Content-TypeBody media type
AuthorizationAuth credentials
AcceptDesired response type
Cache-ControlCaching directives
Cookie / Set-CookieHTTP cookies
OriginRequest origin (CORS)
User-AgentClient identifier
X-Request-IDRequest tracking ID

Content Types

application/jsonJSON data
text/htmlHTML document
text/plainPlain text
multipart/form-dataFile upload form
application/xmlXML data
application/octet-streamBinary data
application/x-www-form-urlencodedForm data
image/png / image/jpegImage types

CORS Headers

Access-Control-Allow-OriginAllowed origins
Access-Control-Allow-MethodsAllowed methods
Access-Control-Allow-HeadersAllowed headers
Access-Control-Max-AgePreflight cache time
Access-Control-Allow-CredentialsAllow cookies
Access-Control-Expose-HeadersExposed headers
allprintabledoc.com