There are many questions about "Access-Control-Allow-Origin" which I applied in htaccess as follows
Header set Access-Control-Allow-Origin "*"
After applying that I am facing following error:
"Access to XMLHttpRequest at 'http://XXX.XXX.XXX.XXX/XXX/rest/V1/categories/3357' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
I also applied following lines:
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS"
Header always set Access-Control-Allow-Headers "X-Accept-Charset,X-Accept,Content-Type"
Could you please help?