Postman - Set BarearToken and Use in All Authorized API Call
Create environment group and create variable
Now in Login post API call, write below lines in scripts tab
pm.environment.set("bareartoken", response.data.token)
Use Bareartoken automatically in all other authorized API call,
No comments:
Post a Comment