You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this issue in two separate projects, Vue and React:
React:
On a POST retry attempt, it will fail and get 415 unsupported media type because the header for content-type is being set to plaintext; it should be 'application/json'. However, a POST with form data like when I upload a file, works; the retry is set correctly to 'multipart/form-data'.
Vue:
Same issue with Vue, a 415 unsupported media error response, except with Vue the content-type header is being set to 'multipart/form-data' when it should be 'application/json'. Uploading a form data POST works ok here too.
Has anyone else had this issue?
Axios 1.7.2
Auth-Refresh 3.3.6
The text was updated successfully, but these errors were encountered:
I'm having this issue in two separate projects, Vue and React:
React:
On a POST retry attempt, it will fail and get 415 unsupported media type because the header for content-type is being set to plaintext; it should be 'application/json'. However, a POST with form data like when I upload a file, works; the retry is set correctly to 'multipart/form-data'.
Vue:
Same issue with Vue, a 415 unsupported media error response, except with Vue the content-type header is being set to 'multipart/form-data' when it should be 'application/json'. Uploading a form data POST works ok here too.
Has anyone else had this issue?
Axios 1.7.2
Auth-Refresh 3.3.6
The text was updated successfully, but these errors were encountered: