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.