REST API From Groovy In Salescloud Specify Content-type:application/vnd.oracle.adf.resourceitem+json (Doc ID 2250872.1)

Last updated on APRIL 07, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 to 11.1.11.1.0 [Release 1.0]
Information in this document applies to any platform.

Goal

How to add HTTP Headers when calling REST API's in Groovy scripts?

Want to add the following header:Content-Type: application/vnd.oracle.adf.resourceitem+json
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms