Bearer Token Automated

My GET request needs the POST Bearer Token. However, every time I have to generate the Bearer Token in POST and copy and paste to GET. Is there a way to automate this test, please?

Hi @35627543884

In a simple way, You can get the token value from your post response and keep as a global environment variable. And use it for your GET request

refer more info: https://medium.com/@iroshan.du/set-bearer-token-as-environment-variable-in-postman-for-all-apis-13277e3ebd78