Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

Foxro Simple Get using Access Token

$
0
0

Hello, I have been given an API specification which includes an access token that maps to my user and password on the host system. I'm trying to do a simple GET. When I post the example URL below in Google Chrome it produces the correct JSON response.

http://my_token@hostdomain.net/employees/441/address.json

So I'm trying to duplicate using Chilkat Active X:

loHttp = CreateObject('Chilkat_9_5_0.Http')
lcResp = loHttp.quickgetstr("http://my_token@hostdomain.net/employees/441/address.json")

And the response is producing error 401 Unauthorized. Any clues on sending a GET with an access code?

Thanks.


Viewing all articles
Browse latest Browse all 1061

Trending Articles