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)){