Created
April 28, 2024 05:09
-
-
Save cyberdev/8823118bae08e45a802114fc682533fa to your computer and use it in GitHub Desktop.
Set collection variable after request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jsonData = JSON.parse(responseBody); | |
pm.collectionVariables.set('token', jsonData.token); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment