Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send api key in Header @ Postman?

Iam trying to send Api Key in Header instead of Url .

When I tried to send Key with api it works good in Following way:-

http://api.mydomain.com?key=dsjfh

Screen Follows :- enter image description here

Is it Possible to send Key as Header ?

I tried something like this which is not working.

like image 454
Prasad Avatar asked Jun 21 '15 05:06

Prasad


1 Answers

I'll be sharing what worked with me.

Go to Authorization, choose as the type API Key, enter the Key and Value.

For me the key was Authorization and the value was Basic X where the X is the said key.

like image 195
Alexandre Elshobokshy Avatar answered Oct 13 '22 04:10

Alexandre Elshobokshy