English | 简体中文
HTTP request proxy, CORS cross-domain request, HTTPS support
- Support cross-domain requests (converting interfaces that do not support cross-domain requests), and directly initiate ajax, fetch
- Support HTTPS (Resolve that the remote data interface does not support HTTPS)
- Host/{URL}
- https://proxy.cors.eu.org/https://api.github.com
- https://proxy.cors.eu.org/nginx.org/download/nginx-1.18.0.zip
// Copy to the console to run
var $url = "http://wthrcdn.etouch.cn/weather_mini?citykey=101040100";
fetch("https://proxy.cors.eu.org/" + $url).then(x => x.json()).then(console.log)
yarn # Installation package
npm start # start
node app.js
PORT=8888 node app.js