lookup> Authorization

Authorization

allows a user agent to authenticate itself with a server -- usually, but not necessarily, after receiving a 401 (Unauthorized) response.

请求头RFC7235#4.1
NameAuthorization
Type请求头
SpecificationRFC7235#4.1

allows a user agent to authenticate itself with a server -- usually, but not necessarily, after receiving a 401 (Unauthorized) response.

Authorization: Bearer eyJhbGciOi...

RFC7235#4.1

What does the Authorization header do?

allows a user agent to authenticate itself with a server -- usually, but not necessarily, after receiving a 401 (Unauthorized) response.

Is Authorization a request or response header?

It is classified as a request header and can appear in requests or responses depending on context.

Related status codes

Related headers