a simple CORS proxy for client-side apps. Pass the URL in the quest parameter and read the response from JavaScript.
codetabs.cc: fetch any web address from here, with CORS headers on the answer
The answer as it came, status and headers included:
curl 'https://www.codetabs.cc/v1/proxy?quest=https://httpbin.org/anything/fetch-me'
As JSON, with "text", "code", "type", "fetched" and "head":
curl 'https://www.codetabs.cc/v1/fetch?quest=https://httpbin.org/anything/fetch-me'
Your method, headers and body are passed on:
curl -X POST -H 'Content-Type: application/json' -d '{"a":1}' 'https://www.codetabs.cc/v1/proxy?quest=https://httpbin.org/anything/post-me'
From a web page:
fetch('https://www.codetabs.cc/v1/proxy?quest=https://httpbin.org/anything/fetch-me').then(r => r.text())
httpbin.org in these examples is a public test service that answers with a description of the request it got.
http and https only. Redirects are followed. No key, no account.
The answer comes back with the header that lets a script on your page read it, whichever site it came from.
GET, POST, PUT, DELETE. The headers and the body you send are passed on to the other side as they are.
Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper.