-
-
Notifications
You must be signed in to change notification settings - Fork 415
Closed
Description
In generated axios http-API client there's a line
headers: {
...(requestParams.headers || {}),
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
},
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
headers: {
...(requestParams.headers || {}),
"Content-Type": type
},
fixes the issue
ThomasGuenard, richherb and rafalm1
Metadata
Metadata
Assignees
Labels
No labels