REST Client vs Code


@baseUrl = {{$dotenv API_URL}}
@username = {{$dotenv API_USER}}
@token = {{$dotenv API_TOKEN}}

###
# @name apiEndpoint


GET {{baseUrl}}/v10/exampleEndpoint HTTP/1.1
Content-Type: application/json
Authorization: Basic {{username}}:{{token}}

###
# @name apiEndpointNextPage
GET {{apiEndpoint.response.body.pages.next}}
Content-Type: application/json
Authorization: Basic {{username}}:{{token}}

###
# @name apiEndpointNextPage
GET {{apiEndpointNextPage.response.body.pages.next}}
Content-Type: application/json
Authorization: Basic {{username}}:{{token}}
Glitchy Sage