Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
REST API Response text/html — Cloud Customer Connect
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

REST API Response text/html

Received Response
edited Jul 19, 2019 4:35AM in Integration 4 comments


REST API Response text/html




I have REST API with POST method when invoked it provides resposne in the json format but the content type of API is text/html.

In this case, while modelling integration in OIC, the REST connection response if i provide json response and json type it fails during runtime as API content type is text/html.

during runtime integration fails with error : response is application/json but expected text/html.

in this case, should i set the REST connection response type as raw and application/octet-stream and then use stage file to read the content of it and process? as this API Response i have to map to subsequent connections in OIC.

Howdy, Stranger!

Log In

To view full details, sign in.


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