Skip to content

cburgmer/tinycors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tiny CORS proxy to allow JS in the browser to access a remote service.

You might also like

Example

$ tinycors --port 8899 en.wikipedia.org:80

Now (using jQuery) try a

$.get('http://localhost:8899/w/api.php?action=query&prop=categories&format=json&titles=London', function (result) {
    console.log(result);
});

Install

With Node.js and npm installed:

$ npm install -g tinycors

About

A dead simple CORS proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published