Skip to content
/ cors42 Public

Pull contents from any page via API and avoid Same-origin policy problems.

License

Notifications You must be signed in to change notification settings

nicxlau/cors42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cors42

Pull contents from any page via API (as JSON/P or raw) and avoid Same-origin policy problems.


A free and open source AnyOrigin alternative, inspired by Whatever Origin.

Examples

To get data from https://www.instagram.com/ using jQuery

$.getJSON('https://cors42.herokuapp.com/?https://www.instagram.com/web/search/topsearch/?context=blended&query=nicolauns', function(data){
    alert(data);
});

License

MIT © Nic.

About

Pull contents from any page via API and avoid Same-origin policy problems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages