Forum Discussion

radheshyamp's avatar
radheshyamp
Occasional Contributor
2 months ago

secure channel support error while runnning API code

Whenever I try to run the code below, I receive a secure channel support error.

I have checked with the network firewall and confirmed that there is no block. Additionally, I can access this URL from a browser without any issues.

Is there any setting in TestComplete to enable SSL?

function MakeHttpRequest() {
    var httpUrl= aqHttp.CreateGetRequest("https://api.parser.name/?api_key=dd610eb8773db3db8cccfeef63c441ab&endpoint=generate&country_code=AU&results=1");
    var getNamesAPI= aqHttp.CreateGetRequest(httpUrl);
    var httpResponse = getNamesAPI.Send();
    
}

5 Replies