If you HTTPS is an invalid certificate then you need set this:
Code: Select all
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
Code: Select all
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
Code: Select all
Error description: BASE / 1081 error Operation not supported: TIPCLIENTHTTP: New ()
Args:
[1] = O TIPCLIENTHTTP
[2] = C https
I researched and only found something about importing three libraries to xHarbour in order to enable access to APIs with "https". But I can not get these libraries and I do not understand how to imbibe them.cnavarro wrote:You are welcome
Gabriel, explain better what you need
I use the Fivewin 17.07.cnavarro wrote:Well, the best thing to do is to do it in Harbour, so you will not have trouble finding the libraries, or at least it will be easier, but in any case, doing it with CreateObject is a good solution to access a WebService.
What version of Fivewin do you use?
Code: Select all
// for JSON
jsonData := ExecuteURL( cURL , aParams , "JSON" ) ;
// for Image
oImg := ExecuteURL( cURL , aParams , "IMG" ) ;
// for String
cStr1 := ExecuteURL( cURL , aParams , "STR" ) ;