Skip to content
Cover image for Why do we get that silly CORS error?

Why do we get that silly CORS error?

comscience profile image kapeel kokane twitter logo github logo ・1 min read

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!

twitter logo DISCUSS (1)
markdown guide

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

Classic DEV Post from Aug 6 '19

What to put in your portfolio as a beginner web dev

kapeel kokane profile image
Coder by day, Content creator by night, Learner at heart!