title: Why can't I use GuzzleHttp in laravel controller?
body: <p>Keep getting the following error: </p>
  
  <p>Object of class Illuminate\Routing\Route could not be converted to string</p>
  
  <pre><code> $response = $client.post('url', [
                  'body' =&gt; [
                     'blah' =&gt; 'blah'
                  ],
                  'headers' =&gt; [
                      // client id+client secret (base64)
                      'Authorization' =&gt; 'Basic sllalalalal='
                  ]
              ]);
  </code></pre>
  
  <p>I'm not using a route object anywhere, is all hardcoded strings in the array.  The line the error happens is exactly where the semicolon is.</p>