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,
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…