HTTP Status Codes
1xx Informational
100—Continue
101—Switching Protocols
102—Processing
103—Early Hints
2xx Success
200—OK
201—Created
202—Accepted
204—No Content
206—Partial Content
207—Multi-Status
3xx Redirection
300—Multiple Choices
301—Moved Permanently
302—Found (temp redirect)
303—See Other
304—Not Modified
307—Temporary Redirect
308—Permanent Redirect
4xx Client Errors
400—Bad Request
401—Unauthorized
403—Forbidden
404—Not Found
405—Method Not Allowed
406—Not Acceptable
408—Request Timeout
409—Conflict
410—Gone
413—Payload Too Large
415—Unsupported Media Type
418—I'm a Teapot
422—Unprocessable Entity
429—Too Many Requests
5xx Server Errors
500—Internal Server Error
501—Not Implemented
502—Bad Gateway
503—Service Unavailable
504—Gateway Timeout
505—HTTP Version Not Supported
507—Insufficient Storage
511—Network Auth Required
HTTP Methods
GET—Retrieve resource
POST—Create resource
PUT—Replace resource
PATCH—Partial update
DELETE—Remove resource
HEAD—GET without body
OPTIONS—Supported methods (CORS)
TRACE—Loop-back test
Common Headers
Content-Type—Body media type
Authorization—Auth credentials
Accept—Desired response type
Cache-Control—Caching directives
Cookie / Set-Cookie—HTTP cookies
Origin—Request origin (CORS)
User-Agent—Client identifier
X-Request-ID—Request tracking ID
Content Types
application/json—JSON data
text/html—HTML document
text/plain—Plain text
multipart/form-data—File upload form
application/xml—XML data
application/octet-stream—Binary data
application/x-www-form-urlencoded—Form data
image/png / image/jpeg—Image types
CORS Headers
Access-Control-Allow-Origin—Allowed origins
Access-Control-Allow-Methods—Allowed methods
Access-Control-Allow-Headers—Allowed headers
Access-Control-Max-Age—Preflight cache time
Access-Control-Allow-Credentials—Allow cookies
Access-Control-Expose-Headers—Exposed headers
allprintabledoc.com