Created
September 7, 2024 21:09
-
-
Save casperghst42/ae477dbfed95f36e347b24ea2becd168 to your computer and use it in GitHub Desktop.
Get Fastmail AccountID with Postman scripts
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
let responseData = pm.response.json(); | |
let accountId = Object.keys(pm.response.json().accounts)[0] | |
console.log(accountId) | |
pm.environment.set("accountId", accountId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment