A simple CORS proxy that can easily be uploaded as a Cloudflare Worker.
The worker proxies a request through a cloudflare worker. This allows you to get around CORS restrictions in browsers, without changing the CORS settings of a server.
Because CORS proxies are often used for nefarious things, of which I would not like to be a part of, I won't post a link to a working CORS proxy here, but they're easy to create in cloudflare without installing anything, and they're available on the free tier.
Just put the URL you'd like to proxy to where $TARGET_URL
is in the string below.
curl "https://corsproxy.$CLOUDFLARE_USER.workers.dev/corsproxy/?apiurl=$TARGET_URL"