How to make a REST call to OIC integrations from Application Composer using Groovy Script?
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.