Jump to content
We've recently updated our Privacy Statement, available here ×

How to fetch data and generate PDF document from API using Java


milos_1

Recommended Posts

Hi

Could you help me, please, how to download data from API and generate PDF document using Java code? Report is generated and prepared on this address for downloading as a pdf “http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions/requestID/exports/exportID/outputResource”. I can see the output in Postman and when I do “Save Response” in postman it saved me the file as a pdf. But I would like to do it automatically via Java to save the pdf on local PC.

Thanks in advance for your help

Regards

Milos

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...