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.
Thanks for all the help
sorry for