Re: webservice implementation using php
Posted: Fri Mar 29, 2019 3:13 am
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:
- Code: Select all Expand view
- 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.