I want to set a Bearer Token
in postman
For some reason my Postman doesn\'t have the Bearer Token
option in the Auth dropdown
I am using Postman v7.0.9.
Add accessToken variable to postman environmental variable.
Then use Tests tab to write javascript.
let jsonData = pm.response.json();
let token = jsonData.accessToken;
pm.environment.set('accessToken', token);
If you are usign the current version "Bearer Token" type is under Authorization tab.