Using JWT (JSON Web Token)to generate bearer for Postman

Name is Gil
1 min readJan 23, 2018

--

A lot of us are familiar with using Postman as a primary tool to inspect and test APIs. It’s very handy when you’re developing or consuming an API, using the tool you are able to test and see how the data response is structured.

Here’s a quick step on how you can use it for APIs that provides “SECRET KEY’ and “API KEY” to generate what’s called the bearer token.

First head out to JWT.IO and use debugger to put some information. 2 things you need, <SECRET KEY> and <API KEY>.

The only thing you need to worry about here is PAYLOAD:DATA portion. Your ISS: <API KEY> given by your provider of API, and the SECRET KEY under Verify Signature portion, and you’ll end up with this one..

And there it is, your bearer token now you can create a request on your POSTMAN by going to authentication and under TYPE, select Bearer Token.

--

--

Name is Gil
Name is Gil

Written by Name is Gil

Software Engineer, Filmmaker, Entrepreneur, Father

No responses yet