DEV Community

Cover image for Why do we get that silly CORS error?
kapeel kokane
kapeel kokane

Posted on

Why do we get that silly CORS error?

Have you ever had that experience where you are working on a frontend project and decide to just fire up a small backend service to support it, or are hitting a public API to fetch some generic data and as soon as you hit your first endpoint, you get that irritating CORS error in the console and you don't know what you did wrong?

I created a short animated video on the same topic trying to explain why we run into such situations often. Do check it out:

Hope that helped, Cheers!

Top comments (1)

Collapse
 
itachiuchiha profile image
Itachi Uchiha

I hate cors 🤓 sometimes I forget it and I always remember ”I configured CORS” 🤓