From 7345e7f6cd119e116a909985acc525caddc6ab89 Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Tue, 17 Jun 2014 07:32:13 +0400 Subject: [PATCH] Update RestApi.php --- lib/IntaroCrm/RestApi.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/IntaroCrm/RestApi.php b/lib/IntaroCrm/RestApi.php index 1ca5373..18319b5 100644 --- a/lib/IntaroCrm/RestApi.php +++ b/lib/IntaroCrm/RestApi.php @@ -560,6 +560,8 @@ class RestApi //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);// allow redirects curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // return into a variable curl_setopt($ch, CURLOPT_TIMEOUT, 30); // times out after 30s + //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + if ($method == 'POST') {