我在Laravel 4中使用Guzzle从另一台服务器返回一些数据,但我无法处理Error 400错误请求
[status code] 400 [reason phrase] Bad Request
Run Code Online (Sandbox Code Playgroud)
使用:
$client->get('http://www.example.com/path/'.$path,
[
'allow_redirects' => true,
'timeout' => 2000
]);
Run Code Online (Sandbox Code Playgroud)
怎么解决?谢谢,