Skip to content

Instantly share code, notes, and snippets.

@legander
Created May 15, 2019 09:14
Show Gist options
  • Save legander/778ff2e40c267e97d7cd598dbcc65921 to your computer and use it in GitHub Desktop.
Save legander/778ff2e40c267e97d7cd598dbcc65921 to your computer and use it in GitHub Desktop.
{
"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