I have an OpenuI5 webapp with a backand developed with Delphi Datasnap technology. I use Upload Collection component to manage a list of fields https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.UploadCollection/properties The component, when I want upload the file, send an Http OPTIONS call to retrieve a list of http methods callable from server. The problem is that the Datasnap server does non handle http options and returns 501 error code http://docwiki.embarcadero.com/RADStudio/Seattle/en/DataSnap_REST
I'm trying to realize one of these solution:
- Send http POST by the component without send the http OPTIONS before
- Manage the http POST call by server Datasnap
- Send my docs with Base64 encoding using a POST but inhibiting the auto send OPTIONS call by the component
What is the solution?