Postman and Authorization Bearer tokens
June 12, 2015
The Jawbone API (among others) uses an Authorization Bearer
token in the header to specify the user’s access_token
.
So if you’re using Postman to debug your API access, how do you use the Postman UI specify a Bearer token
in the Authorization
header?
- Click the Headers button
- Set a
Header
toAuthorization
- Set its
Value
toBearer USERSACCESSTOKENGOESHERE
. That is,Bearer
- followed by a space
- followed by the user’s access token
Here’s a screencap of Postman in action: