My Oracle Support Banner

Rest API Is CORS Enabled In Server (Doc ID 2080571.1)

Last updated on MARCH 19, 2019

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


Qn1:You are planning to build Front-end in PaaS Java cloud using Angular JS and to get data from Sales Cloud via Rest API.

Sales API call is made as something like below*

Rest API will be accessed directly from UI using angular JS.

In order to make restAPi call directly from javascript/ajax, CORS needs to be enabled in the server side like the configuration below.

Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers "Content-Type, X-Requested-With"
Header set Access-Control-Allow-Methods "GET,POST,OPTIONS"

If this is not already configured, you would like it to be enabled.
Qn2:You would like to know when this fix is available.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.