Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

HTTP.SubmitSecure (with private API key)

$
0
0
Hey guys,

Can anyone help me figure this out?

Am trying to use a private API Key in an HTTP.SubmitSecure request to return the price of XMR (cryptocurrency). But for some reason, I keep getting a blank string returned. Am a little puzzled why?

If I submit the following URL (with private API key appended):

...via my browser, it will correctly return the price of XMR:

eg. screenshot:



But when attempting to retrieve the same data via AMS with the following code:

Code:
sRet = HTTP.SubmitSecure("https://min-api.cryptocompare.com/data/price?fsym=XMR&tsyms=AUD&api_key={my_private_api_k ey}", {}, SUBMITWEB_GET, 20, 443, nil, nil);
Dialog.Message("Notice", sRet);
...all that I get is a blank string.

Anyone know why?


Viewing all articles
Browse latest Browse all 2105

Trending Articles