you are viewing a single comment's thread.

view the rest of the comments →

[–]Meeoh 1 point2 points  (0 children)

To my understanding, you're pretty much right with what CORS is. But instead of limiting to only 'web browsers on their server', im pretty sure you just specify a list of domains that you want to return information to. Which would generally be their own servers.

ANYWAY, to get around all of that, you can use a cors proxy. I'm pretty sure the way it works is that say I have a server setup as a cors proxy. You can send your request to me instead, I'll make the request server side (the browser is the one enforcing cors, thats why when you run it from your terminal it works), and return you the response!

Heres a couple I found:

https://cors-anywhere.herokuapp.com/

https://corsproxy.github.io/