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

Last updated on MARCH 08, 2017

Applies to:

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

Goal

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

https://.oraclecloud.com/salesApi/resources/latest/*

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.
 

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