title: Specify raw body of a POST request with Guzzle
body: <p>With Guzzle (version 3), I'd like to specify the body of a POST request in "raw" mode. I'm currently trying this:</p>
  
  <pre><code>$guzzleRequest = $client-&gt;createRequest(
      'POST',
      $uri,
      null,
      'un=one&amp;deux=two'
  );
  </code></pre>
  
  <p>But it kind of doesn't work. If I dump my <code>$guzzleRequest</code> I can see that <code>postFields-&gt;data</code> is empty. Using <code>$guzzleRequest-&gt;setBody()</code> afterwards doesn't help.</p>
  
  <p>However if I specify the body as <code>['un'=&gt;'one', 'deux'=&gt;'two']</code>, it works as expected.</p>
  
  <p>How can I specify the body of the request as <code>'un=one&amp;deux=two'</code>?</p>