Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Commuter Rail JSON not available via JavaScript
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alan  
View profile  
 More options Feb 22 2012, 9:54 am
From: Alan <alt...@gmail.com>
Date: Wed, 22 Feb 2012 06:54:09 -0800 (PST)
Local: Wed, Feb 22 2012 9:54 am
Subject: Commuter Rail JSON not available via JavaScript

The Commuter Rail data (e.g.
http://developer.mbta.com/lib/RTCR/RailLine_9.json) appear to be available
neither via either JSONP <http://en.wikipedia.org/wiki/JSONP> nor CORS<http://en.wikipedia.org/wiki/Cross-Origin_Resource_Sharing>,
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.