Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get http code curl php

$info = curl_getinfo($ch, CURLINFO_HTTP_CODE);
		
curl_close($ch);
if ($info == 200){
  return json_decode($result);
}
 
PREVIOUS NEXT
Tagged: #http #code #curl #php
ADD COMMENT
Topic
Name
7+3 =