News for hackers. Stuff that matters.
Re:WikiTok by egonschiele on Tuesday February 04, 2025 @04:50PM (#42939366)
nit: same-origin policy is the restriction. CORS isn't the restriction, it's the thing that helps you. CORS is the solution, not the problem.
Re:WikiTok by ahoka on Wednesday February 05, 2025 @05:54AM (#42946764)
Yes, exactly. People who want to "disable" it have no idea how the web works. Developers have all kinds of misconceptions about what it is, I even heard someone saying it disallows backends to call their API.
Re:WikiTok by bawolff on Wednesday February 05, 2025 @10:06AM (#42949446)
And in particular CORS is the region you can read the wikkpedia api cross origin (unless you are doing jsonp, but hopefully they are using CORS because it is better in every way)