Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

form paramters vs attachment properties

edited Mar 26, 2020 7:52AM in Integration 8 comments

Content

We have 1 integration to upload a file in Object Internal Storage Of IDCS. This endpoint accepts multipart/form-data. How ever different documents have different approaches to this .

We have a single file which is not multipart and want to upload into target endpoint which acccepts multipart/form-data.

According to this 

https://docs.oracle.com/en/cloud/paas/identity-cloud/17.4.2/rest-api/op-storage-v1-Files-post.html

This is expecting form parameters. 

(contentType, file, fileName  - populating base64 content to file)

According to this 

https://docs.oracle.com/en/cloud/paas/integration-cloud/rest-adapter/map-construct-payload-external-rest-api-that-accepts-multipart-form-data-content-type.html

this is expecting attachment properties to be filled in.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!