title: Making an axios POST request with multipart/form-data, via React Native Debugger
body: <p>I am trying to upload a file from React Native to my server. However I am unable to set the <code>'Content-Type'</code> header to <code>multipart/form-data</code>.</p>
  
  <p>Here's my simple request:</p>
  
  <pre><code>axios({
    uri: 'http://localhost:3000',
    method: 'POST',
    data: formData,
    headers: {
      Accept: 'application/json',
      'Content-Type': 'multipart/form-data'
    }
  });
  </code></pre>
  
  <p>I am using the React Native Debugger to monitor Network requests. </p>
  
  <p>When I see my Network request inside the Debugger, I see this:</p>
  
  <p><code>'Content-Type': 'text/plain;charset=UTF-8'</code></p>
  
  <p>and the Request Payload is simply <code>[object Object]</code></p>
  
  <p>User Agent:
  <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) ReactNativeDebugger/0.7.13 Chrome/58.0.3029.110 Electron/1.7.9 Safari/537.36</code></p>
  
  <p>If I am unable to do this with the React Native Debugger, can anyone suggest any steps to testing via Expo. </p>