CORS proxy using nodejs
JavaScript
Switch branches/tags
Nothing to show
Latest commit e71b496 Aug 23, 2013 @rmadhuram Update README.md
Permalink
Failed to load latest commit information.
.gitignore Initial commit via nodester-cli Oct 27, 2011
README.md Update README.md Aug 23, 2013
server.js Allow full URLs with scheme and query string Sep 30, 2012

README.md

CORS is a technology specification to get around the Same Origin Policy restrictions of web browsers. To allow cross domain sharing, web servers have to attach additional headers. Unfortunately, not many servers have done this yet, and hence we have issues trying to access their resources in certain scenarios such as WebGL. This simple nodejs proxy will attach the CORS headers so that the browser thinks it is okay to be shared.

For example:

http://corsproxy.nodester.com/?src=farm7.static.flickr.com/6048/6250681839_7574c8c4b6_m.jpg

Note: The above link is now defunct, looks like nodester went out of business. However, it still illustrates the point how you can use this service.