title: How to createRequest by using guzzleHttp?
body: <p>I used GuzzleHttp, I have created request following commands:</p>
  
  <pre><code>use GuzzleHttp\Client;
  use GuzzleHttp\Psr7\Request;
  
  $url = 'http://localhost/api/get_data?token=123456';
  $client = new Client();
  $request = $client-&gt;createRequest('GET', $url, []);
  </code></pre>
  
  <p>But <code>error</code>: </p>
  
  <pre><code>Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given, called in /home/datnq/www/slim/vendor/guzzlehttp/guzzle/src/Client.php on line 88 and defined
  </code></pre>
  
  <p>Why did I miss ? I think parameters are right!</p>