Skip to content

Instantly share code, notes, and snippets.

@cyberdev
Created April 28, 2024 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyberdev/8823118bae08e45a802114fc682533fa to your computer and use it in GitHub Desktop.
Save cyberdev/8823118bae08e45a802114fc682533fa to your computer and use it in GitHub Desktop.
Set collection variable after request
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