Upload media object via REST API - JavaScript, anyone done it?
HI,
I am tying to use the REST API to upload a media object (file) attachement.
https://docs.oracle.com/cd/E53430_01/EOTRS/op-file-upload-post.html
The example provides a cURL example which works fine. There is an existing Oracle document on Oracle Support that has instructions on how to use sOAPUi, which also works fine.
However, I cannot get this to work using Oracle JET / JavaScript. I can't seem to create a call via JavaScript that passes the information in the way the REST endpoint wants. I have no issues with any other of the REST endpoints for JDE, just this media object upload.