Have you tried switching the DmsPostFile service from odata to rest (@protocol: 'rest') ? That removes data validation of the incoming payload. Bear in mind this will also change the url it is exposed through.
Last thing I can think of: in another similar project I used the LargeString data type to receive an uploaded file instead of LargeBinary. Once received in the CAP handler I used Buffer.from() to read it.
No, LargeString can't be used as LargeBinary. It will be not possible to send LargeString data into Standard API parameter which is type of LargeBinary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.