Hi,
I'm trying to use the Upload control with a an asp.net core web api backend.
My server code is expecting to receive a file with a content-type of 'multipart/form-data', the Upload control is sending it as 'application/json'. Is there a way I can set the content-type of the posted file?
I tried setting the content-type in the UploadEvent (https://www.telerik.com/kendo-angular-ui/components/upload/api/UploadEvent/)
uploadEventHandler(e: UploadEvent) {
e.headers.set('Content-Type', 'multipart/form-data')
}
but it was ignored.