Integration Technologies - JDE1 (MOSC)

MOSC Banner

Upload media object via REST API - JavaScript, anyone done it?

edited Apr 2, 2020 5:06AM in Integration Technologies - JDE1 (MOSC) 2 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center