You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XMLHttpRequest cannot load http://127.0.0.1:9200/_search. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
The text was updated successfully, but these errors were encountered:
My goal is to access elasticsearch data from other domain, am I missing anything over here?
I set the config in elasticsearch.yml file which looks like this
after set the config I restart elasticsearch
now I want to do xhr call from other domain
It responds with following error
XMLHttpRequest cannot load http://127.0.0.1:9200/_search. Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response.
The text was updated successfully, but these errors were encountered: