Find the exact HTTP detail you need
Use concise definitions first, then inspect syntax, constraints, interoperability notes, examples, and the primary specification.
Methods
method
GET method
GET requests transfer a current representation of the target resource.
GET request-target HTTP-versionmethod
HEAD method
HEAD asks for the response metadata of GET without transferring response content.
HEAD request-target HTTP-versionmethod
POST method
POST asks the target resource to process enclosed content according to that resource's semantics.
POST request-target HTTP-version
Status codes
status code
200 OK
200 OK reports success, with response content defined in relation to the request method.
HTTP-version 200 OKstatus code
301 Moved Permanently
301 identifies a preferred permanent target and permits historical method rewriting for POST.
HTTP-version 301 Moved Permanentlystatus code
304 Not Modified
A 304 response confirms that a conditional request can reuse its stored representation.
HTTP-version 304 Not Modifiedstatus code
404 Not Found
404 means the origin did not find a current representation or is unwilling to disclose one.
HTTP-version 404 Not Foundstatus code
429 Too Many Requests
429 reports that the client sent too many requests within the server's chosen counting scope.
HTTP-version 429 Too Many Requests
Fields
header
Cache-Control field
Cache-Control carries case-insensitive directives that constrain caching and reuse.
Cache-Control: #cache-directiveheader
ETag field
ETag carries an opaque validator for the selected representation.
ETag: [ W/ ] "opaque-tag"header
Location field
Location identifies a URI reference associated with a redirect or successful creation.
Location: URI-referenceheader
Origin field
Origin identifies the source origin associated with a request without a path.
Origin: serialized-origin / nullheader
Set-Cookie field
Set-Cookie asks a user agent to store one cookie with explicit attributes.
Set-Cookie: cookie-name=cookie-value *(; cookie-av)header
Vary field
Vary tells recipients which request fields influenced representation selection.
Vary: * / #field-name
