Skip to content
Skip to content
← All HTTP Headers
Request

Authorization

Carries credentials to authenticate the client with the server.

Syntax

Authorization: <scheme> <credentials>

Example

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Description

The Authorization header provides credentials for authenticating the client with the server. It is sent in response to a 401 Unauthorized challenge or proactively for known protected resources.

The most common scheme is Bearer (for OAuth 2.0 tokens) and Basic (Base64-encoded username:password). Never use Basic over unencrypted connections.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers