RosettaCodeData/Task/HTTPS-Client-authenticated/Objeck/https-client-authenticated....

8 lines
269 B
Plaintext

class Test {
function : Main(args : String[]) ~ Nil {
url := Web.HTTP.Url->New("https://www.example.com");
pem := "C:/Users/reality/deploy-arm64/lib/cacert.pem";
Web.HTTP.HttpsClient->QuickGet(url, "text/html", Nil, pem)->GetContent()->PrintLine();
}
}