Set an Bearer authorization header with a cURL request

Sends a request using cURL with a Bearer token.

Authored by: Steve Tauber
Brought to you by Warp, a free terminal reimagined to work like a modern app.
access_token
url

Command
Copy
curl -H "Authorization: Bearer access_token" url
Tags