I have created a report where my Data Source is the REST API. The API works in the following way:
- The user sends username and password
- A token is generated and sent back as a response
- The user uses this token in the next requests and it expires after a defined time.
I am having a problem with my report. I have used the API in my report but it needs to log in each time and gets a token to access the data which takes up to 8-15 seconds to build and display the report. That is causing an extra delay in report generation which is irritating and is unacceptable. Is there any way I could overcome logging in each time while generating a report?
this question explains my time taken to generate the report on different platforms and also contains the code to generate the report.
Thanks a lot