Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gaoajia/proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

HTTP请求代理,CORS跨域请求,HTTPS支持(cors-anywhere)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 86.9%
  • HTML 13.1%