You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll take a look into the exact implementation of this, it might be that NMBS returns a 404 to us, and we echo it, or else it's just us who return a 404 to indicate we couldn't find results (in which cases a 404 is an easy way for clients to catch this edge-case).
I know we're doing this for trains when they can't be found, even if they might drive on other days, so in that way its consistent.
Hello
When looking at some connections, I noticed that depending on the time, it might be no trains, meaning no results:
https://api.irail.be/connections.php?to=Aalst-Kerrebroek&from=Mons&date=250518&time=2115&timeSel=depart&lang=en&typeOfTransport=train&format=json&fast=true&alerts=true
But it's that really an error?
Shouldn't be logical to get an empty array?
In fact that's an open question rather than an issue...
The text was updated successfully, but these errors were encountered: