Created
May 15, 2019 09:14
-
-
Save legander/778ff2e40c267e97d7cd598dbcc65921 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
{ | |
"log": { | |
"pages": [ | |
{ | |
"id": "group_0", | |
"title": "Group 0" | |
} | |
], | |
"entries": [ | |
{ | |
"pageref": "group_0", | |
"request": { | |
"url": "http://api.example.com/authenticate", | |
"method": "POST", | |
"postData": { | |
"mimeType": "application/json", | |
"text": "{\"username\":\"admin\",\"password\":\"123\"}" | |
} | |
}, | |
"variables": [ | |
{ | |
"name": "accessToken", | |
"type": 0, | |
"expression": "user.token" | |
} | |
] | |
}, | |
{ | |
"request": { | |
"url": "http://api.example.com/users", | |
"method": "GET", | |
"headers": [ | |
{ | |
"name": "Authorization", | |
"value": "Bearer ${accessToken}" | |
} | |
] | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment