0
What is the point of existence of CORS in JavaScript?
If one can make web requests using other languages like python to any domain/origin they want then what is the use of CORS. In my opinion it is just making JavaScript a stupid language. It's so frustrating to see how much time I have wasted to make a simple web request in JavaScript and all I am learning is to access different paths in the same origin or website. How does CORS makes websites secure? I don't see any valid reasons. Please enlighten me😭🙏
1 Antwort