Bearer token is setting as null

Here I am trying to pass the Bearer token for all the request. But the auth_token is setting as null.
Here is the Authorization screenshot-


Here is the Header, you can see the value is set as null for Authorization

I am passing this to create a variable for auth_token

Hello @saikat_debnath123
There was a property missing on the way when getting the token :point_down:

pm.globals.set(“auth_token”, jsonData.user.auth_token);

:wink:

yes @cmnazario i missed to write user. Thanks alot for the correction. Appreciate it

1 Like