openstreetmap/openstreetmap-website — pull request #138 by jfirebaugh (2012-10-21 20:44:48+00:00)
Title: Allow cross-origin request to API

This allows pure HTML/JS editors like iD to be embedded on third-party
sites.

I'm unclear if cgimap needs to handle this too. Would an OPTIONS request
for /api/0.6/map go to the rails port first?