title: Multipart file upload not working as expected from react native, but it's working from postman
body: <p>I am trying to upload an image using multipart upload. Here is my form data object.</p>
  
  <pre><code>let newPet = new FormData();
  newPet.append('name', name);
  newPet.append('species', species);
  newPet.append('breed', breed);
  newPet.append('birthday', birthday);
  newPet.append('files', file);
  </code></pre>
  
  <p>Request Config:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let response = await fetch(`${baseurl}/pets`, {
    method: 'POST',
    headers: {
      // Accept: 'application/x-www-form-urlencoding',
      Accept: 'application/json',
      // 'Content-Type': 'multipart/form-data',
      'Content-Type': 'application/json',
      Authorization: `Bearer ${token}`
    },
    body: JSON.stringify(newPet)
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>In the server side I am receiving an object as below:  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
    _parts: [
      ['name', 'Leo'],
      ['species', 'cat'],
      ['breed', 'german'],
      ['birthday', '2-08-2018'],
      ['files', [Object]]
    ];
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>which is not the expected that I want. </p>
  
  <p>However, from postman I am getting a file object in the req.files. </p>
  
  <p>Both of the time, I am sending form data, but why it is different. How can I get the expected result that I got from postman?</p>