title: Why Axios' onUploadProgress never triggers when callin third party API in Typescript?
body: <p>the axios.post sends a file to an Azure hosted backend API. It is in Typescript</p>
  <pre><code>const headers:AxiosRequestHeaders = { &quot;Access-Control-Allow-Origin&quot;:&quot;*&quot;, &quot;Content-Type&quot;: file[0].type};
  
  axios.post(&quot;https://xxxxxxx.azurewebsites.net/api/SpeechToText&quot;, formdata, {headers,onUploadProgress :(progressEvent) =&gt; {
        const progress = (progressEvent.loaded / progressEvent.total) * 90;
        console.log(progressEvent)
        setSingleProgress(progress)
        
      }})
  </code></pre>
  <p>basically even console.log is not showing anything so I assume the whole function was never triggered. I don't find any problem on the code itself, but please ask if more information needed from me.</p>