Due to JavaScript's same-origin policy, requests from a script stored on a server can only send requests back to that server. When blocked, the JavaScript XMLHttpRequest status = 0
To allow a script to send requests to and receive responses from Context Store, you must enable the Allow Cross-origin Resource Sharing for all setting on
CORS must be enabled when using any web client such as the Streams client, the Customer Journey Visualization application (part of the ContextStoreQuery service) or website integration (using JavaScript SDK or integration with ContextStoreRest interface).