Reputation: 329
In postman, I was trying to test my API using token-based authentication using Postman. I generated a token for my user, but for testing it, I need to feed it as an API key in Postman. But I am not being able to find the API key option.
For understanding, I have added a screenshot of my Postman window along.
What should I do to solve this problem?
Upvotes: 4
Views: 5692
Reputation: 69
Plese try to download on your local machine, downloaded machine has the option you are looking for
https://www.postman.com/downloads/
Here is the related Documentation
https://learning.postman.com/docs/sending-requests/authorization/#api-key
snapshot showing all authorization options
Upvotes: 0
Reputation: 59
It is same for me and I solved with followings,
Go to "Headers" tab near "Authorization"
Put "Authorization" in "KEY" form
Put "Token xxxxxx" in "VALUE" form
Upvotes: 4