Help httpsocket (Desktop Windows)

dim h as new httpsocket
dim someVar as string

someVar=h.get(“http://www.timeapi.org/utc/now”,15)

this no works no return anything

Create an async socket and check the headers for more details.

It looks like the server is responding with 403-Forbidden unless you send the User-Agent header with the request.

ok
thanks

Don’t Dim the HTTPSocket. drag it to the page from the library.