I am in the process of refactoring a existing fiori app to use a CAP service instead of an on-premise oData service. We are using the odata v2 proxy for this. Can someone please help with pointers on how to download and upload attachments to a SAP on-premise system? We have had limited success with upload but the files seems to upload as corrupt files. Not much luck with downloading attachments from the oData on-premise system. I confirmed that the csrf tokens are sent correctly.
Thanks for your time