I need to disable the CORS for the API.
I am developing a Tableau connector for Graylog API and the connection is failing as the API server does not allow cross origin requests.
How to disable CORS for REST API?
Basically, I am getting this error when trying to access the API from another domain
No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://127.0.0.1:9000’ is therefore not allowed access.