时间:2021-07-01 10:21:17 帮助过:20人阅读
PHP Curl 乱码 URL 分享到:
$url='http://www.battlenet.com.cn/api/wow/achievement/2144';
$ch=curl_init();
$head=array(
"Content-Type: application/json;charset=UTF-8"
);
curl_setopt($ch,CURLOPT_HTTPHEADER,$head);
curl_setopt($ch,CURLOPT_URL,$url);
curl_exec($ch);
curl_close($ch);