Reputation: 5528
Is there a simple way in Postman to:
Or
Update/Delete
I want the chaining requests of a collection or a folder without stop and edit every request body.
Upvotes: 0
Views: 664
Reputation: 5528
Let's say I want to create a new obj called 'qif' then get its id, and then update it.
var jsonData = JSON.parse(responseBody);
pm.environment.set("new_create_qif_id", jsonData.id);
new_create_qif_id
ready.{{new_create_qif_id}}
in request body or URL, it will be updated every time we run the collection or folderRequesting token is just the same.
Upvotes: 1