Hawk is a widely used authentication protocol on he web, especially when it comes to APIs. The main driver behind Hawk, I feel, is the extremely simple nature of the protocol. We've been receiving requests for Hawk support for a some time now, and we're glad to announce support for Hawk Auth in Postman.
Here's how you can use it:
1. Choose your endpoint
We've added support for Hawk Authentication in Postman Echo, so for the purposes of this blog post, that is what we'll use.
GET endpoint is:
2. In Postman, select the Hawk Auth helper
Postman will show you all the variables that can be configured. To keep things simple, let's set the following ones:
Hawk Auth ID:
Hawk Auth Key:
(In case you haven't noticed, these values are also the ones used in the Hawk library examples) 😉
3. Click "Update Request
Postman will add a new "Authorization" header to your request. Hitting send should result in a successful response: