I have been looking at the Roads-Realtime Api both through the API Explorer and a Python script but cannot seem to get it to work. I know my API key and authorization is working as it works with https://api.transport.nsw.gov.au/v1/ttds/events but i cannot get it to work with https://api.transport.nsw.gov.au/v1/ttds/route.
I followed the instructions as per the example in API Explorer and have set the X-User-Agent and Content-Type correctly and set the body to
as per the example (omiting the departure-time as it is not required) but I keep getting a 400 Bad Request.
Has anybody any ideas on what i need to populate the Body with to get the route information.