http://ugbase.eu/Thread-how-to-do-http-requests-in-cleo
+
Code:
:download_check_status // by some scammer - http://ugbase.eu/Thread-Intriguing-scam-check-if-your-data-was-stolen
1@ = -1
while 1@ == -1
wait 0
0C66: 1@ = get_download 0@ state
end
0AB2: ret 1 1@
//0C65: 1@ = download_url 4@ to_file CHANGELOG_FILE
//0AB1: call_scm_func @download_check_status 1 download_n 1@ status_to 2@
I'd use api like this:
https://timezonedb.com/api
Btw it requires to save the file and read it... alternatively you could use "InternetOpenUrl" funciton:
https://prime-hack.net/threads/trudno-obnaruzhivaemyj-stiler.982/
But the example from link above doesn't read the data from it, you'd have to check this out:
https://docs.microsoft.com/en-us/windows/desktop/api/wininet/nf-wininet-internetopenurla
The InternetOpenUrl function parses the URL string, establishes a connection to the server, and prepares to download the data identified by the URL. The application can then use InternetReadFile (for files) or InternetFindNextFile (for directories) to retrieve the URL data.
https://docs.microsoft.com/en-gb/windows/desktop/api/wininet/nf-wininet-internetreadfile
It's kind of complicated comparing to the first option but could be worth a try if you'd like to make it in a neat way