derhuerst / bvg-rest

An HTTP API for Berlin & Brandenburg public transport.

Home Page:https://v6.bvg.transport.rest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trip requests returns missing 'lineName' error

felixpitterling opened this issue · comments

Example

request: https://v5.bvg.transport.rest/trips/1|34726|2|86|27012022&lineName=S1
response: {'error': True, 'msg': 'Missing lineName.', 'statusCode': 400}

How would I go about doing a trip request correctly? Thanks for any help.

Note the & between the trip ID and the lineName parameter. It should be ?, which in a URL separates the path from the query string.

I'm going to close this Issue. Please re-open if the problem is not solved.