Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local-proxy

a proxy server that can be hit by a web page

installation / run

git clone https://github.com/joshterrill/local-proxy.git
cd local-proxy/
npm run build
npm start

usage

On any web page:

var websites = ["http://google.com", "http://clearwavesoftware.com"];

for (var i = 0; i < websites.length; i++) {
  $.ajax({
    url: "http://localhost:9090/url",
    method: "POST",
    data: {"url": websites[i]}
  })
    .done(function( response ) {
      console.log(response)
    });
}

About

a proxy server that can be hit by a web page

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages