You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rest API - Issues with CORS request

Accepted answer
19
Views
8
Comments
edited May 8, 2017 6:01PM in Integrations and APIs 8 comments

Content

I am trying to query contact information from within our organizations SharePoint site, using the REST API and JavaScript. When I try to run the code, I receive a preflight access control check error (image attached).



After reading this article: https://cloudcustomerconnect.oracle.com/posts/306c295dbd, I updated the 'SEC_PAPI_INTEG_HOSTS_REST' setting to include *SharePoint.<site>.com and *.<site>.com; however, I still receive the same error.



Is there additional information that needs to be included in the request headers? Are the domain names in the correct format? Are there any other considerations when making CORS requests?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!