hi
Im working on React Project and using Axios package for requested Elasticsearch rest API . after call I receive CORS error
how can fix this error and get data ?
error :
Access to XMLHttpRequest at '<self server elastic search Url >' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.