HTTP Authorization Header
Contains credentials to authenticate the client with the server. Commonly used for Bearer tokens, Basic auth, and API keys.
Purpose
Provides authentication credentials so the server can verify the client's identity before processing the request.
Authorization: Bearer <token> Authorization: Basic <base64-credentials> Authorization: Apikey <key>
Code Examples
See how to use the Authorization header in different tools and languages.
Related Headers
WWW-Authenticate
Indicates the authentication scheme that should be used to access the requested resource. Sent alongside 401 Unauthorized responses.
Cookie
Sends stored HTTP cookies from the client to the server. Contains name-value pairs that maintain session state across requests.
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.