Get Curl Httcode Php

[Solved] Get Curl Httcode Php | Php - Code Explorer | yomemimo.com
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

Answers related to get curl httcode php

Code Explorer Popular Question For Php