Hi,
I have some trouble to get the resulting report when i launch a call to REST.
With postman, il send a GET to this endpoint for logging :
http://srv-test:8080/jasperserver/rest_v2/login?j_username=user&j_passwo....
In Postman, i get a cookie with a JSESSIONID.
Next, i launch this POST query to execute a report (same cookie) :
http://srv-test:8080/jasperserver/rest_v2/reportExecutions
This is the body :
I check the headers request to verify if this is the same cookie. It's the same.
This is the response :
When i launch the final query (GET) to retrieve the report i get an error. (same cookie in header)
I don't understant why i get this error because it's the same cookie for each query...
Thanks in advance for reply.
Sorry for my poor english.
1 Answer:
Is your requirement to get the report in PDF?
If yes, I think you can achieve this by simply issuing the following URL in the GET method.
* Reference
https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...
* Example URL
http://srv-test:8080/jasperserver/rest_v2/reports/public/test_report.pdf...