My Oracle Support Banner

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

Last updated on MAY 01, 2018

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

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
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.