From 5741b58bfc1ba026053e0f681730df37e7a77fa5 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 12 Jun 2016 21:58:38 +0200 Subject: [PATCH] http code --- src/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index 5437843..b2320ef 100644 --- a/src/functions.php +++ b/src/functions.php @@ -348,7 +348,8 @@ function get_IA_Response($iaUrl,$postParams){ 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string)) ); - $httpCode = curl_getinfo($ch,CURLINFO_HTTP_CODE); + $httpCode = curl_getinfo($ch); + print_r($httpCode); $output= curl_exec($ch); curl_close($ch); if(! $arr = json_decode($output,TRUE)){