Guide and reference
HTTP Protocol
HTTP defines request and response semantics: methods, fields, status codes and representation handling. HTTP/1.1, HTTP/2 and HTTP/3 differ in framing and transport behavior while sharing many semantics. Encryption is provided by TLS in HTTPS, rather than by an HTTP status code or method.
HTTP Protocol
HTTP defines request and response semantics: methods, fields, status codes and representation handling. HTTP/1.1, HTTP/2 and HTTP/3 differ in framing and transport behavior while sharing many semantics. Encryption is provided by TLS in HTTPS, rather than by an HTTP status code or method.
ReferenceHTTP/1.0
HTTP/1.0 is an early HTTP version predating later persistence and caching refinements.
ReferenceHTTP/1.1
HTTP/1.1 supports persistent connections with text-based message framing and defined body-length rules.
ReferenceHTTP/2
HTTP/2 multiplexes framed streams over TCP while retaining HTTP semantics.
ReferenceHTTP/3
HTTP/3 maps HTTP semantics onto QUIC streams rather than TCP-based HTTP/2 transport.
ReferenceHTTP methods
HTTP methods define requested operations and associated safety and idempotency semantics.
ReferenceGET
GET retrieves a representation and has safe semantics rather than intentional state-changing behavior.
ReferencePOST
POST asks a resource to process supplied content according to application-defined semantics.
ReferencePUT
PUT creates or replaces target-resource state with idempotent method semantics.
ReferencePATCH
PATCH applies a partial modification using a supported patch format.
ReferenceDELETE
DELETE requests removal of the target resource association, not guaranteed erasure of every stored copy.
ReferenceHEAD
HEAD requests GET-like response metadata without a response body.
ReferenceOPTIONS
OPTIONS describes communication options and is used in contexts such as CORS preflight.
ReferenceHTTP status codes
HTTP status codes classify response outcomes and require interpretation in request and application context.
ReferenceHTTP headers
HTTP fields carry metadata controlling representation, caching, authentication and intermediary behavior.
ReferenceCookies
Cookies store browser state and are sent on matching requests under scope and security rules.
ReferenceSessions
Application sessions associate requests with state or identity through a protected session identifier.
ReferenceAuthentication
Authentication verifies an identity claim, separately from permission to perform an action.
ReferenceHTTP caching
HTTP caching controls reuse through freshness, validators and response-varying request context.
ReferenceContent negotiation
Content negotiation selects representations using client preferences and server policy.
ReferenceCompression
Compression reduces transfer size at processing cost and requires compatible encodings and security review.
ReferenceRedirects
HTTP redirects identify alternate targets with status-specific method and client behavior.
ReferenceWebSockets
WebSockets provide bidirectional messaging over an established connection with application-level authorization needs.
ReferenceServer-Sent Events
Server-Sent Events stream server-to-client events over an HTTP connection.
ReferenceREST APIs
REST is an architectural style involving resources and uniform interfaces, not any JSON HTTP endpoint.
ReferenceGraphQL
GraphQL defines schema-based queries and execution for client-selected application data.
ReferencegRPC
gRPC provides contract-based remote procedure calls, commonly using Protocol Buffers and HTTP/2.