title: Object of class GuzzleHttp\Psr7\Request could not be converted to string
body: <p>I've got an issue for laravel 5.4 when I trying to using guzzleHttp. here is my code.</p>
  
  <pre><code>use GuzzleHttp\Client;
  $url = 'http://example.com';
  $client = new Client();
  
  $parameter = ['query' =&gt; ['name' =&gt; 'xxx', 'address' =&gt; 'yyy'], 'headers' =&gt; [ 'User-Agent' =&gt; 'xxxx', 'exceptions' =&gt; false, 'timeout' =&gt; 10 ]];
  $res = $client-&gt;request('GET', $url, $parameter);
  
  if ($res-&gt;getStatusCode() == 200)
  {
   $json = (string)$res-&gt;getBody();
   return $json;
  }
  </code></pre>
  
  <p>and I've got this error on log:
  Error Exception: Object of class GuzzleHttp\Psr7\Request could not be converted to string</p>
  
  <p>what is wrong with my code? please kindly help me.
  fyi, this error not always happen. sometimes it show this error, sometimes success.</p>
  
  <p>thank you</p>