problems when requesting reports with api

Pedro Alvarez7 years ago

hello, I'm creating a webpage with Angular6 and traccar 4.1, all requests to the api are correct, but I have problems printing the reports in excel format.

when making the request to the server, it responds correctly, and I can see the response data as Content-lenght and Content-Disposition in the google chrome developer tools, but when creating the blob file in the code, the file has 9 bytes.

alt text

Pedro Alvarez7 years ago

sorry, I found a solution for my problem, based on the need of the reports, I will send them by email, that solution is enough for me.