We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

OIC REST Adapter modelling in the flow to send raw data

Received Response
11
Views
1
Comments
edited Sep 21, 2020 6:05AM in Integration 1 comment

Summary

Getting invalid_format error when trying to send raw data in REST adapter OIC.

Content

Hi all,

The rest API expects to send data in below format

Body

raw (application/x-www-form-urlencoded)

C0004 1001 AT020 1102 BK 12111 6/30/2014 41235.2567896789

Example RequestIngestion API - Bank Balances

curl --request PUT \
--url 'https://{datacenter}.api.bl.corp/dataingestion/accounts/bank-balances?message-version=4'; \ --header 'Authorization: Bearer d5f32012337d5dc69ef64a320225f56e' \
--header 'Cache-Control: no cache' \
--header 'Content-Type: application/x-www-form-urlencoded'

How should the request in REST be modeled to send data in this format. Tried multiple combinations in OIC REST Request didnn't work. Any input will be helpful.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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