If your question is how to access HTTPS with curl,
If you HTTPS is an invalid certificate then you need set this:
Otherwise you dont need change anything and it will works.

If you HTTPS is an invalid certificate then you need set this:
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);Otherwise you dont need change anything and it will works.
Regards,
Lailton Fernando Mariano
Lailton Fernando Mariano