Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add authorization header in POSTMAN environment?

I'm testing bunch of API calls using POSTMAN. Instead of adding authorization header to each request, can I make it as a part of POSTMAN environment? So, I don't have to pass it with every request.

like image 541
asp Avatar asked Nov 11 '16 00:11

asp


1 Answers

Yes, you can do this through Postman by assigning your header as an environment variable, let's say authorization, as follow:

Authorization header

then set you environment variable with its value as follow:

Environment variable

like image 105
Basim Hennawi Avatar answered Sep 21 '22 12:09

Basim Hennawi