/cors42

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

Primary LanguagePHPMIT LicenseMIT

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.