title: Node.js - PUT with 'request' module
body: <p>I am using the request module in Node.js to do a put request.  My code looks like this</p>
  
  <pre><code>var request = require('request');
  var data = {foo: "bar", woo: "car"};
  
  request({
     method: 'PUT',
     uri: myURL,
     multipart: [{
         'content-type':'application/json',
         body: JSON.stringify(data) 
     }]
  }, function(error, request, body){
     console.log(body);
  });
  </code></pre>
  
  <p>When I run this I get an error:</p>
  
  <p>"Unsupported content with type: application/json"</p>