Question
What is the 'Authorization' header format when using a Cloudflare API with a Global API Key or API Token?
Asked by: USER1547
105 Viewed
105 Answers
Responsive Ad After Question
Answer (105)
When using a Global API Key, the Authorization header typically looks like: `Authorization: Bearer `. If you are using an API Token (which is the recommended approach), the format is also `Authorization: Bearer `. The 'Bearer' prefix indicates that the token is being used for authentication.