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

Configure Trigger REST adapter to accept text/html response body

Accepted answer
40
Views
3
Comments
edited Apr 16, 2021 11:42AM in Integration 3 comments

Content

Hello,

I am trying to configure a trigger rest adapter to call an external API that returns a XML text as the response but with the content-type text/html.

How should I configure it since the adapter doesn't allow me to choose the one I want?

If I try to use application/xml for example, I get a 500 response code.

Attached is the error response from OIC and also a success response using Postman to directly call that external API.

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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