title: unable to send form-data in react-native
body: <p>I was using axios to send form-data in RN but it's not working. Noww tried fetch every feild uploads except images. If i use postman, everything works fine.<a href="https://i.stack.imgur.com/8RY9S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8RY9S.png" alt="enter image description here" /></a></p>
  <p>here is my code:</p>
  <pre><code>const postOrder = () =&gt; {
      var data = new FormData();
      data.append('marca', marca);
      data.append('modeo', modeo);
      data.append('option', option);
      data.append('descripcion', descripcion);
      data.append('images[]', images);
      data.append('userId', '2');
      dispatch(saveOrder(data));
    };
      fetch(`${baseUrl}/save-order`, {
      method: 'POST',
      headers: {
        Accept: 'application/json',
        'Content-Type': 'multipart/form-data',
      },
      body: data,
    })
      .then(res =&gt; res.json())
      .then(json =&gt; {
        // dispatch({type: 'ORDER', payload: response.data});
        console.log('json1', json);
      })
      .catch(error =&gt; {
        console.log(error);
      });
  </code></pre>
  <p>every property/feild is beig uploaded except images. I have tried these methods also</p>
  <pre><code>data.append('file', {
        uri: images,
        type: 'image/jpeg',
        name: 'images[]',
      });
  data.append('file',images,'images[])
  </code></pre>