/cors-anywhere.php

CORS Anywhere is a PHP reverse proxy which adds CORS headers to the proxied request.

Primary LanguagePHP

cors-anywhere.php

curl https://xs679698.xsrv.jp/https://httpbin.org/get?foo=bar

curl https://xs679698.xsrv.jp/https://httpbin.org/post?foo=bar -d "param1=abc&param2=xyz"

wget https://xs679698.xsrv.jp/https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png

Development

php -S localhost:8000 cors.php