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:
...all that I get is a blank string.
Anyone know why?
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):
Code:
[URL="https://min-api.cryptocompare.com/data/price?fsym=XMR&tsyms=AUD&api_key=%7Bmy_private_api_k%20ey%7D"]https://min-api.cryptocompare.com/data/price?fsym=XMR&tsyms=AUD&api_key={my_private_api_key}[/URL]
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);
Anyone know why?

Comment