<?php
//PhP发送get请求并且,接口返回json
$url='你需要请求的url地址';
$data = file_get_contents($url);
header('Content-Type:application/json; charset=utf-8');
echo $data;
// echo str_replace("\\", "", $data);
?>
<?php
//PhP发送get请求并且,接口返回json
$url='你需要请求的url地址';
$data = file_get_contents($url);
header('Content-Type:application/json; charset=utf-8');
echo $data;
// echo str_replace("\\", "", $data);
?>