“OK, but no”If you ever worked with an AJAX call, you are probably familiar with the following error displayed in browser console: Failed to load https://example.com/: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://anfo.pl' is therefore not allowed access. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resour
![Understanding CORS](https://cdn-ak-scissors.b.st-hatena.com/image/square/0f1599ebd96034ab4ed8facfb7df5308fd9a3804/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1006%2F1%2AAAtbKMYYz5wgxed7Tu6tzw.png)