Skip to content

Abstract out \tracking for the microservice to handle live bus locations  #288

@alanna-zhou

Description

@alanna-zhou

Right now, the server responds with at /tracking.

{
"success" : false,
"data" : {
"errors" : [
"Unexpected token < in JSON at position 0"
]
}
}

and I am 99.999% sure that this is because the link that we get this information from is no longer in JSON.

https://gateway.api.cloud.wso2.com:443/t/mystop/tcat/v1/rest/Vehicles/GetAllVehiclesForRoute'

So, it's about time anyway to get rid of handling this in Node and instead move it over to the microservice.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions