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