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
edited May 8, 2017 6:01PM in Integrations and APIs 8 comments


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:, 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.


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