Question : get http code curl php
Answered by : indonesia-people
$result = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpcode == 200){ return json_decode($result);
}
Source : | Last Update : Wed, 04 May 22