title: Changing to Url-Form-Encoded Post Request in Swagger
body: <p>I was wondering is it possible to create a url-form-encoded post request within Swagger? For example:</p>
  
  <pre><code>POST https://url.co.uk
  Host: server.example.com
  Authorization: Bearer &lt;Initial Access Token&gt;
  Content-Type: application/x-www-form-urlencoded
  
  &amp;grant_type=password
  &amp;client_id=&lt;client id&gt;
  &amp;client_secret=&lt;client secret&gt;
  </code></pre>
  
  <p>Currently we have the layout below for our various parameters but are not sure how to change to url-form-encoded. We have tried changing to<code>in:body</code>instead of header but this does not work. See example for grant-type parameter </p>
  
  <pre><code>          "parameters": [
                  {
                      "in": "header",
                      "name": "grant_type",
                      "description": "Indicates that the app is using the Resource Owner Password \"password\".",
                      "required": true,
                      "type": "string",
                      "enum": [
                          "password"
                          ] 
                  },
  </code></pre>
  
  <p>Which currently returns this:</p>
  
  <pre><code>Accept: application/json
  Accept-Encoding: gzip,deflate,sdch
  Accept-Language: en-US,en;q=0.8,fa;q=0.6,sv;q=0.4
  Cache-Control: no-cache
  Connection: keep-alive
  Origin: http://editor.swagger.io
  Referer: http://editor.swagger.io/
  User-Agent: Mozilla/5.0 
  grant_type: password
  client_id: xxx-xxx-xxx
  client_secret: &lt;client_secret&gt;
  </code></pre>
  
  <p>Any help/insight on this would be greatly appreciated - even to let me know if it is even possible?</p>