Created
September 15, 2021 02:26
-
-
Save crossgate10/1ce71fb3725e8f12c319041d289490ff 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
// js 最高就到 56 位,加上雙引號改成字串 | |
var resp = responseBody.replace(/([0-9]{8,100})/g, '\"$1\"'); | |
var jsonData = JSON.parse(resp); | |
postman.setEnvironmentVariable("accountID", jsonData.data.accountID); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment