Description
In the Boston OBA server, we hit the following stopId:
1_Forge Park / 495
It can be seen in the list of stops returned in this stops-for-location query:
http://developer.onebusaway.org/mbta-api/api/where/stops-for-location.json?lat=42.078482127189595&lon=-71.43382396548986&latSpan=0.08702002322407765&lonSpan=0.07993753999471664&version=2&key=TEST
When using this stopId
in a REST API request URL, I believe forward slashes should be escaped as %2F
?
But getting arrivals using the escaped slash gives a 404:
http://developer.onebusaway.org/mbta-api/api/where/arrivals-and-departures-for-stop/1_Forge%20Park%20%2F%20495.json&key=TEST
@sheldonabrown Do you know if OBA server requests are expected to work with /
in the stopId? Not sure how the entire OBA stack would react to this, or if it should be preprocessed out of the data.
We’re trying to figure out how to handle client-side.