error in the report/trips API

I've been using the API for some time. I have already created a travel query in my system using /reports/trips?
today i formatted my server and installed traccar completely.
I set up a tracker and ran a few kilometers.
when pulling the report through the API is coming several characters encrypted as if trying to download an XML or an XLS.
I don't understand what happened, because it was working...

Anton Tananaev2 years ago

You have to pass the Accept header with your API request.

look how interesting. I restarted the service and it started working again, but the problem was transferred to another call.. laughs
I will do what you are instructing. is that I'm using the API the way I found it.