Commuter Rail JSON not available via JavaScript

76 views
Skip to first unread message

Alan

unread,
Feb 22, 2012, 9:54:09 AM2/22/12
to massdotd...@googlegroups.com

The Commuter Rail data (e.g. http://developer.mbta.com/lib/RTCR/RailLine_9.json) appear to be available neither via either JSONP nor CORS, making it impossible to access this data via JavaScript.  If you’d like to make this data available to browser applications using JavaScript, you will need to add CORS support.

Please make the JSON available via CORS by sending the HTTP response header:
Access-Control-Allow-Origin: *

This site details how to do so for IIS6: http://enable-cors.org/#how-iis6.

Thanks in advance,
alan

Reply all
Reply to author
Forward
0 new messages