I am working on a file upload in UI5.
I can not use the fileupload
via associations since I need the binary before writing in my table.
The problem is sap.ui.unified.FileUploader
always uses the POST
HTTP method,
this causes an error in the backend system:
405 Methode not allowed
I found this SAP Blog FileUploader - 405 Method Not Allowed in which the problem is solved by extending the control and changing the HTTP method.
My question is there a more standard way to achieve that? I did not find any property in the control to configure the HTTP method.
Options:
- Maybe in the XHR Settings?
- Can you allow
POST
inSEGW
or the user exit classes?