Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
It's for your security, it's all client side, browser can fetch anything without caring about CORS, it's the browser who doesn't allow other websites to make request with your cookies, when you type something in address bar, there is no security risk in fetching.
-
@lopu yeah, you could do that, but if you control the server where you're fetching from, better option would be to allow CORS request, you only need to set 2 headers, if you don't control it, middleman thing can work.
-
@Root My thoughts exactly. I've now lost track of the number of times I've explained on here why it's necessary, why it's not security that's defeated by making the same request on the backend, and why it's generally not usually required anyway.
-
lopu8843y@theXpanther
Also I ran into an issue where Instagram detected the use of a proxy and shut down the request..
Related Rants
-
darkm0de16Dear CORS, Fuck you. Sincerely, localhost:8080 connecting to localhost:8000
-
devios15I fucking hate CORS. I mean yeah I get that it's for security and all but fucking COCKSUCKER is it ever fuckin...
-
hack11*Creates a rest api that runs on localhost:8080* *Creates React front end that runs on localhost:3000* *Sends ...
What the fuck is CORS, I can type the URL into my browser and download the file, but running a HTTP request from within a page is denied? Wtf kind of dumb no logic behaviour is this
rant
cors