I developed a kibana plugin visualization integrating elasticsearch-browser to comunicate with elasticsearch.
When I configure elasticsearch-browser with an angularJS application, if I try to ping my ES instance, in the console of my browser appared this errore message:
Access to XMLHttpRequest at 'http://127.0.0.1:9200/' from origin 'http://127.0.0.1:5601' has been blocked by CORS policy: Request header field kbn-version is not allowed by Access-Control-Allow-Headers in preflight response
Why? How I do to resolve this problem?
Thank's in advance for the replies!