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 Post blocked by CORS though whitelisted in PAPI_CORS_DOMAIN_LIST

Question
59
Views
0
Comments
edited Feb 27, 2019 3:17PM in HCM Integrations

Summary

REST API Post blocked by CORS though whitelisted in PAPI_CORS_DOMAIN_LIST

Content

We want to send data from an Articulate Storyline 360 SCORM course on Taleo. I can successfully post data using Postman.

When I try running the Javascript from the course, or just in the Developer Console I get:  Access to XMLHttpRequest at 'https:...--' from origin 'https:...' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

The site I am trying to run it from has been whitelisted via PAPI_CORS_DOMAIN_LIST and has jquery running on it.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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