title: posting HTTP-BODY data with Needle api in node.js
body: <p>Hi I'm trying to interact with an HTTP api and I am required to send an HTTP post request some form data. And then in the HTTP-BODY element I am required to supply some more data (can be either csv or xml). So my challenge is in understanding how to do this via the Needle API as its unclear via just the documentation.</p>
  
  <p>I have been able to successfully do :</p>
  
  <pre><code>needle.post( host, formdata, function( err, resp, body){ }); 
  </code></pre>
  
  <p>The above works for the situations where I don't require posting the HTTP-BODY content.</p>
  
  <p>I have tried the following but receive an error :</p>
  
  <pre><code>options = {
               headers : { 'Content-Type': 'text/tab-separated-values; charset=iso-8859-1'},
               body : text
            }
  needle.post( host, formdata, options, function( err, resp, body){ }); 
  </code></pre>
  
  <p>Could any one guide me to the correct way to do this somewhat basic task.</p>
  
  <p>Thanks.</p>