bruno/packages/bruno-toml/tests/scripts/post-response/request.json

15 lines
268 B
JSON

{
"meta": {
"name": "Get users",
"type": "http",
"seq": 1
},
"http": {
"method": "GET",
"url": "https://reqres.in/api/users"
},
"script": {
"res": "bru.setVar('token', res.body.token);\nconsole.log('token: ' + res.body.token);"
}
}