Created
March 9, 2022 08:17
-
-
Save gladx/864d26504d7d546c4a9378902d39a199 to your computer and use it in GitHub Desktop.
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
if(responseCode.code === 200){ | |
var jsonData = JSON.parse(responseBody); | |
//postman.setEnvironmentVariable("usertoken1", jsonData.data.token); | |
pm.collectionVariables.set("token", jsonData.data.token) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment