Check what official web app sends in a request and compare to your one.
Thanks for your answer. I do this via wireshark, and ich see, the request seems to be then same.
But i found one little different. I wrote in my request deviceid=
and in wireshark i see deviceId=
.
So i change the Charakter to upper, and now i get 23000 results in then json-response. I haven't know that upperchar's in parameters are so importend.
many thanks for you indirect help. I hope this helps other people.
Hi,
i want to requet routedata from server.
My request looks like this:
/api/reports/route?deviceid=18&from=2020-04-01T00%3A00%3A00Z&to=2020-05-31T23%3A59%3A59Z
the result is only an empty JSON-Array like this:
[]
. I don't know why.In the websurface of Traccar i can see many routeitems in the same timeselection. Can anybody tell me where's the mistake?
Thanks