Answer the question
In order to leave comments, you need to log in
I can not get the correct content of the json file through curl, what's the problem?
Here is the content to get
185.97.254.83:10000/recent.json
Here is how to get it:
$c = curl_init('http://185.97.254.83:10000/recent.json');
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_TIMEOUT, 10);
$obj = curl_exec($c);
var_dump($obj);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question