Access to XMLHttpRequest at 'http://[::1]/pos/index.php/Sub_Category/get_sub_cat/3' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Asked
Active
Viewed 15 times
0

M. Eriksson
- 13,450
- 4
- 29
- 40

Rzy
- 9
- 7
-
When you get an error message, always start by google it. This has been asked and answered again and again all over the web. – M. Eriksson Mar 25 '20 at 11:30
-
Could you please provide a code snippet which shows how you produced the error? https://stackoverflow.com/help/minimal-reproducible-example – shaedrich Mar 25 '20 at 12:46