CORS Proxy

To add CORS headers to another URL, set the target URL as the path for the CORS proxy's URL. For example, if you wan to access http://my.domain.com/path/to/resource, and the CORS proxy's URL is http://localhost:1337, the full proxy URL is http://localhost:1337/my.domain.com/path/to/resource.

You do not open http://localhost:1337/my.domain.com/path/to/resource directly in your browser, instead open it through XMLHttpRequest. For example, if you are using jQuery, you can do $.get('http://localhost:1337/my.domain.com/path/to/resource')

https://github.com/gr2m/CORS-Proxy