Skip to content

Commit 153671a

Browse files
committed
Ignore SSL Certificate in request
1 parent 1048882 commit 153671a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

JotForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ private function _executeHttpRequest($path, $params=array(), $method){
7777
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
7878
curl_setopt($ch,CURLOPT_USERAGENT,"JOTFORM_PHP_WRAPPER");
7979
curl_setopt($ch,CURLOPT_HTTPHEADER, array('APIKEY: '.$this->apiKey));
80+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
8081

8182
if ($method=="POST"){
8283
$this->_debugLog("posting");

0 commit comments

Comments
 (0)