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

How to make a REST call to OIC integrations from Application Composer using Groovy Script?

Hello,

I have registered the Integration Endpoint URL in web services as REST. I tried making a rest call from Groovy script, but it gave me a "415 Unsupported Media Type " Exception.

I also set the 'Content-Type' to 'application/JSON in the request header. No luck

I am attaching my groovy code and Exception images below.

Regards

vishal singh



Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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