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
Metadata
Metadata
Assignees
Labels
No labels