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

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

Open
alanna-zhou opened this issue Mar 5, 2020 · 0 comments
Assignees

Comments

@alanna-zhou
Copy link
Contributor

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.

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