-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels