title: POST data for url with cuRL
body: <p>I am trying to send some data to an curl URL to obtain a key.</p>
  
  <p>The curl command is:  </p>
  
  <pre><code>curl -X POST "http://website.com/api/open/oauth/token" -H "accept: application/json" -H "Authorization: xx:xxxxxxxxxxxxxxxx" -H "content-type: application/x-www-form-urlencoded" -d "grant_type=password&amp;username=xxx@yahoo.com&amp;password=xxxx"
  </code></pre>
  
  <p>Any idea how this will look into a php code to get the response key ?</p>