API Login and export xls

0

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: 2 months 1 week ago

1 Answer:

0

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
442
Joined: Aug 17 2018 - 3:48pm
Last seen: 1 day 7 hours ago
Feedback
randomness