title: Using Guzzle to call Stackoverflow api is not working
body: <p>I am using  Guzzle to work with the Stackoverflow API . My code is as follows </p>
  
  <pre><code>$client = new GuzzleHttp\Client();
  $response = $client-&gt;get('api.stackexchange.com/2.2/search/advanced',['pagesize'=&gt;'2','order'=&gt;'desc','sort'=&gt; 'activity','q'=&gt;['laravel eloquent'],'site'=&gt;'stackoverflow'])-&gt;send();
  </code></pre>
  
  <p>but I am getting this excpetion</p>
  
  <blockquote>
    <p>InvalidArgumentException No method is configured to handle the
    pagesize config key</p>
  </blockquote>
  
  <p>the complete url (on stackoverflow) that works is <a href="http://api.stackexchange.com/docs/advanced-search#pagesize=2&amp;order=desc&amp;sort=activity&amp;q=laravel%20eloquent&amp;filter=default&amp;site=stackoverflow">posted here</a>. Note you will need to run it. </p>
  
  <p>Can you please help me out with this , please ? </p>