Gaurav Marothia
Hi All,
I'm facing an issue in automating Oauth 2.0 for my tests.
In the tests section of my token URL I've written the following:
***var jsonData = JSON.parse(responseBody);
pm.globals.set("access_token", jsonData.access_token);***
Now when I use this variable in my GET request & pass it in the headers, I'm receiving 401 Unauthorized error. Don't know where I'm going wrong. Please help
Could you show us the request+response how u're generating access token, what's stored in your globals, an the actual following request (check code menu)