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