CORS (Cross Origin Resource Sharing) is a security mechanism used by web-browsers. It blocks a website from accessing the content of another website.
In this case, a web-based application cannot access the GraphQL Interface, unless the mandatory CORS headers are present in the server response.
Solution:
To benefit from this fix: