Last active
June 17, 2023 10:49
-
-
Save yikZero/c215a7ae081841c0a4c4d1e5b5bffdfa to your computer and use it in GitHub Desktop.
Hypermatic破解
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 url = $request.url; | |
let obj = JSON.parse($response.body); | |
if (obj.hasOwnProperty('count')) { | |
obj['count'] = 9999; | |
} else { | |
console.log('Response body does not have a count property'); | |
} | |
if (obj.hasOwnProperty('message')) { | |
obj['message'] = 9999; | |
} else { | |
console.log('Response body does not have a message property'); | |
} | |
$done({body: JSON.stringify(obj)}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment