Created
January 2, 2018 14:41
-
-
Save Dillie-O/bf745fa785e7e3cfcafa5894247589de to your computer and use it in GitHub Desktop.
[Postman Environment Variable Update] Updates environment variable in Postman. Use in 'Tests' section. #postman #api #environment
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); | |
postman.setEnvironmentVariable('token', jsonData.data.JWT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment