I'm using Guzzle in Laravel 4 to return some data from another server, but I can't handle Error 400 bad request
[status code] 400 [reason phrase] Bad Request
using:
$client->get('http://www.example.com/path/'.$path,
[
'allow_redirects' => true,
'timeout' => 2000
]);
how to solve it? thanks,