📨

Postman.io

javascript

Save an env var

var jsonData = JSON.parse(responseBody)
pm.environment.set('ref', jsonData.refs[0].ref)
Edit this page
Want to make your own site like this? Try gatsby-theme-code-notes by Zander Martineau.
Notes on code. My memory bank.