Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OIC REST API missing body

KinsonMay 9 2024

Hi,

I am new in OIC and hope someone can help me for a a problem of missing Body in POST method when OIC calling an External REST API.

I have configured a REST Connection. In my Integration, I selected "Configure a request payload for this endpoint" and then I drop a XML sample for the request payload format as below:

<?xml version="1.0" encoding="UTF-8" ?><root> <IntegrationData> <Integration>ABC</Integration> <Environment>DEV</Environment> <DebugLevel>1</DebugLevel> <HomeDirectory>ABC/ABC</HomeDirectory> <DataFileName>hjashjfds.encrypt</DataFileName> <Data>hgdsajkfjkds</Data> </IntegrationData> </root>

In the mapping, I map only "Integration" element with a text "Test" for testing.

However, after I run it, the end point didn't receive any data in body and said the Content-Length is 0.

Is there anything I did wrong? Please give some advice. thanks

Comments
Post Details
Added on May 9 2024
3 comments
1,159 views