Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the same protocol in the JourneyDetailRef as in the ArrivalBoard or DepartureBoard request #15

Open
highsource opened this issue Apr 26, 2016 · 0 comments

Comments

@highsource
Copy link
Collaborator

Assume we're quierying the arrival board with https:

https://open-api.bahn.de/bin/rest.exe/arrivalBoard?authKey=<KEY>&lang=de&id=008000105&date=2016-02-22&time=15%3a00&format=json

We're still getting JourneyDetailRef with http:

http://open-api.bahn.de/bin/rest.exe/v1.0/journeyDetail?ref=30249%2F14357%2F56420%2F18127%2F80%3Fdate%3D2016-02-22%26station_evaId%3D8000105%26station_type%3Darr%26authKey%3D<KEY>%26lang%3Dde%26format%3Djson%26

So the protocols mismatch. Technically it would be nice to have matching protocols (https in the case above) so that implementations don't jump between HTTP and HTTPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant