HTTP Cookie Header
Sends stored HTTP cookies from the client to the server. Contains name-value pairs that maintain session state across requests.
Purpose
Maintains session state, user preferences, and tracking information across multiple HTTP requests.
Cookie: name=value Cookie: name1=value1; name2=value2 Cookie: sessionId=abc123; theme=dark
Code Examples
See how to use the Cookie header in different tools and languages.
Related Headers
Set-Cookie
Sends cookies from the server to the client. The client stores them and sends them back with subsequent requests via the Cookie header.
Authorization
Contains credentials to authenticate the client with the server. Commonly used for Bearer tokens, Basic auth, and API keys.
Cache-Control
Specifies caching directives for both requests and responses. Controls how and for how long content is cached by browsers and intermediate caches.