My Oracle Support Banner

How To Send Plain/Text Content-type Using OIC REST Adapter? (Doc ID 2621743.1)

Last updated on DECEMBER 18, 2019

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Goal

When trying to invoke a third party API(ESRI Rest APIs) via a Rest Adapter in OIC, the API returns a response with a content-type of plain/text.

In the following documentation:

it states that "Plain/text content-type can be sent or received as unparsed content by the REST Adapter using the raw payload option.

After configuring the response with Raw option & “Other Media Type” —> “plain/text”, the Rest adapter returns a file reference.

Something like:

"file:/XXXX-XXX0-XXX8-XXXc-XXXXac@_@XXXXXXXXXXXXXXXXXXXXXXXXXXX8JJgbK8q+XXXXXXXXXXXm+OfQ=="

How can this be consumed?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.