Topic by Jackson Hall
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: http://communities.rightnow.com/posts/d1fe2d90d4, 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?
I've enclosed the JavaScript below.