Recently the URL that I was checking for an Internet connection switched from http to https. So I changed the line of code below from:
to:
But this always reports failed
Is the HTTP.TestConnection supposed to work with URLs that use https? Perhaps I have the incorrect syntax?
Code:
local bConnected = HTTP.TestConnection("http://mywebsite.com.au", 20, 80, nil, nil);
Code:
local bConnected = HTTP.TestConnection("https://mywebsite.com.au", 20, 443, nil, nil);
Is the HTTP.TestConnection supposed to work with URLs that use https? Perhaps I have the incorrect syntax?
Comment