Arbaz’s Newsletter

Share this post
CORS : Understanding Cross Origin Resource Sharing
arbazsiddiqui.substack.com

CORS : Understanding Cross Origin Resource Sharing

Arbaz Siddiqui
Jun 14, 2020
Comment
Share

If you have ever worked on some ajax calls or a react SPA you might be familiar with the annoying CORS error. The go to solution for us in that case is to talk to the backend guys and ask them to just allow everything because YOLO. But what is CORS? Is it just a way to annoy frontend developers? Has it got anything to do with security? If yes then why do we need auth and secret keys? If no then what purpose does it solves? How does it work in first place?

CORS : Understanding Cross Origin Resource Sharing

If you have these questions, this article is for you. It will try to answer all of these and also propose solution for the issues you might face while dealing with CORS.

Stay Safe. Stay Home.

CommentComment
ShareShare

Create your profile

0 subscriptions will be displayed on your profile (edit)

Skip for now

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.

TopNew

No posts

Ready for more?

© 2022 Arbaz Siddiqui
Privacy ∙ Terms ∙ Collection notice
Publish on Substack Get the app
Substack is the home for great writing