title: cannot upload file to an Api using axios
body: <p>cannot upload an image to microsoft Azure face-detect, the Docs says that i should upload [binary data] with content-type : "application/octet-stream"
  <a href="https://northeurope.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236" rel="nofollow noreferrer">https://northeurope.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236</a> . i am uploading image.data (which is binary data) but i am getting error 400, however that i tried to upload a file with postman and it worked that means that i have a problem with my post request, but i find no problem</p>
  
  <pre><code>axios.post("https://northeurope.api.cognitive.microsoft.com/face/v1.0/detect", image.data, {
                      headers: {
                          "Ocp-Apim-Subscription-Key": "*************",
                          "Content-Type": "application/octet-stream"
                      }
                  }).then(res =&gt; {
                      console.log(res)
                  }).catch((error) =&gt; {
                      console.log(error)
                      throw error
                  })
  
  Error: Request failed with status code 400
      at createError (createError.js:16)
      at settle (settle.js:17)
      at XMLHttpRequest.handleLoad (xhr.js:59)
      at XMLHttpRequest.dispatchEvent (event-target-shim.js:818)
      at XMLHttpRequest.setReadyState (XMLHttpRequest.js:566)
      at XMLHttpRequest.__didCompleteResponse (XMLHttpRequest.js:388)
      at XMLHttpRequest.js:501
      at RCTDeviceEventEmitter.emit (EventEmitter.js:189)
      at MessageQueue.__callFunction (MessageQueue.js:395)
      at MessageQueue.js:106
  </code></pre>