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 think the header is applied automatically by the browser when passing a FormData object in the body. Not sure if that holds true for Axios though but this appears to be the behavior for me using fetch.
We have to pass content-type with the header param to be able to send form-data.
As the generated request have already the type, it is sad to redefined it manually
In generated axios http-API client there's a line
this prevents us from sending a request with content-type multipart/form-data.
Could anyone tell me what the reason was for this solution?
Replacing this with a simple
fixes the issue
The text was updated successfully, but these errors were encountered: