API Login and export xls

Hey guys,

It may seem like a basic thing but I can't find a solution.

http://adress:port/jasperserver/rest_v2/reports/folder/file.xlsx

This works perfectly, but only if logged in, I needed to enter the login in the link, so that the user just clicks on the link and downloads it.

from what I read from the manuals, this should work : ?

http://adress:port/jasperserver/rest_v2/reports/folder/file.xlsx%7C&logi...

but it does not work!

some help?

hugonarciso.sousa's picture
Joined: May 25 2018 - 8:11am
Last seen: 10 months 3 days ago

1 Answer:

The following URL will probably work.

http://adress:port/jasperserver/rest_v2/reports/folder/file.xlsx?j_usern...

I hope this is useful to you.

 

yama818's picture
6437
Joined: Aug 17 2018 - 3:48pm
Last seen: 3 weeks 6 days ago
Feedback
randomness