http code

This commit is contained in:
gnieark 2016-06-12 21:58:38 +02:00
parent babe3bb947
commit 5741b58bfc
1 changed files with 2 additions and 1 deletions

View File

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