title: Multipart form parse error - Invalid boundary in multipart: None
body: <p>I am very frustrated and could not find the soloution:</p>
  
  <p>I am creating a project using angularjs and nodejs.I get image data from angular side in node js and send this data to further api.I got error </p>
  
  <pre><code>{
    "error": {
      "detail": "Multipart form parse error - Invalid boundary in multipart: None"
    }
  }
  </code></pre>
  
  <p>here is my code in nodejs side:</p>
  
  <pre><code>var request = require('request');
      console.log(req.files);
  var data = {
  
          website:'www.gamail.xom',
          contact_number:'dsdsd',
          services_offered:'dsadasd',
          contact_name:'dasdas',
          provider_category:'exchange',
          email:'kk@gmail.com',
          image:req.files
  
      }
  var api_url = global.common.base_url + 'vcard/1.0.0/visit_card/' + req.param('uuid') +'/';
      request({
          url: api_url,
          method: 'PUT',
          headers: {
              'Content-Type': 'multipart/form-data',
              'Authorization': 'Bearer '+req.cookies.apitoken
          },
          json: data
  
      }, function(error, response, body) {
          if(response.statusCode == 200 &amp;&amp; !error){
              res.end(JSON.stringify(body));
          }else{          
              res.send(response.statusCode, { error: body });
          }
      });
  }
  </code></pre>
  
  <p>In req.files  i get</p>
  
  <pre><code>{ image:
     [ { fieldName: 'image[0]',
         originalFilename: 'icon_dd_chart_grey.png',
         path: 'C:\\Users\\karakuma\\AppData\\Local\\Temp\\op74_gLSzPs-_49aT1GF0si
  7.png',
         headers: [Object],
         size: 1474,
         name: 'icon_dd_chart_grey.png',
         type: 'image/png' } ] }
  </code></pre>