index f0032365af1d0d4790494abd0177ee980b6d1bed..d9084f61c0913dba6c4bbcefb8668f69ddc754dd 100644 (file)
curl_setopt($this->curlHandler, CURLOPT_COOKIEFILE, 'cookiefile.txt');
curl_setopt($this->curlHandler, CURLOPT_POST , TRUE);
curl_setopt($this->curlHandler, CURLOPT_RETURNTRANSFER , TRUE);
+ curl_setopt($this->curlHandler, CURLOPT_SSL_VERIFYPEER, TRUE);
curl_setopt($this->curlHandler, CURLOPT_HTTPHEADER , array('Content-Type: application/json'));
// Try to login