3 Unstar Star 6 Fork 2

netnr / proxyMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
HTTP请求代理,CORS跨域请求,HTTPS支持(cors-anywhere) spread retract

https://proxy.netnr.com

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

English | 简体中文

proxy

HTTP request proxy, CORS cross-domain request, HTTPS support

Function

  • 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)

Use

// Copy to the console to run

var $url = "http://wthrcdn.etouch.cn/weather_mini?citykey=101040100";
fetch("https://d-proxy.zme.ink/" + $url).then(x => x.json()).then(console.log)

Run

yarn        # Installation package
npm start   # start

Source code

Comments ( 2 )

Sign in for post a comment

1
https://gitee.com/netnr/proxy.git
git@gitee.com:netnr/proxy.git
netnr
proxy
proxy
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542