Php Curl Http Post Sample Code

[Solved] Php Curl Http Post Sample Code | Shell - Code Explorer | yomemimo.com
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

Answers related to php curl http post sample code

Code Explorer Popular Question For Shell