http code

This commit is contained in:
gnieark 2016-06-12 22:00:13 +02:00
parent 5741b58bfc
commit 5cc44a73e1

View File

@ -348,9 +348,11 @@ function get_IA_Response($iaUrl,$postParams){
'Content-Type: application/json',
'Content-Length: ' . strlen($data_string))
);
$output= curl_exec($ch);
$httpCode = curl_getinfo($ch);
print_r($httpCode);
$output= curl_exec($ch);
curl_close($ch);
if(! $arr = json_decode($output,TRUE)){
$arr=array();