PHP Classes

modification to work with SSL

Recommend this page to a friend!

      REST Client  >  All threads  >  modification to work with SSL  >  (Un) Subscribe thread alerts  
Subject:modification to work with SSL
Summary:one line needed for SSL support
Messages:1
Author:Tim Rand
Date:2013-03-13 17:42:08
 

  1. modification to work with SSL   Reply   Report abuse  
Picture of Tim Rand Tim Rand - 2013-03-13 17:42:08
Great client, but it wasn't working for my new API using SSL, so I added

curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, false); // for SSL

to the execute function and now it works.