What is CORS? A front-end perspective

When you’re met with a rather nasty message, in this case:

No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

You can’t just leave it.

In this case, because your API call (or whatever it is that you were trying to do) is essential to…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store