With restRequest
' .Open "POST", URL & REQUEST_GET_CUSTOMERS, True
.Open "POST", URL & REQUEST_GET_LOCATIONS, True
.SetRequestHeader "Authorization", "Basic " & Base64Encode(SITE_ID & ":" & API_KEY)
.SetRequestHeader "response_type", "json"
' .SetRequestHeader "location", "104"
.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
.Option(WinHttpRequestOption_EnableRedirects) = False
.SetTimeouts 0, 0, 0, 60000
.Send
.WaitForResponse 240000