问题描述: 使用curl get访问接口返回301跳转 无法访问数据。 解决: curl_setopt($handle, CURLOPT_FOLLOWLOCATION, 1); 转载于:https://www.cnblogs.com/fanhuo/p/10097239.html