Jump to content

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


Recommended Posts


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



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...