How to import zip file via import service api of Jaspersoft? Need code for the same

Hi ,


I am trying to use the jasper rest api(import service api) to import zip (Report file) into the jasper server.

I tried using Postman and i am able to do but I need to do it using Gel Scripting(or Java) code.I need a Java code for the same.

In PostMan i have to put header as Content-Type ="application/zip" and click on option of Binary and then select the file you need to send.Also I have used Post method.


But since i select Binary option i dont see the underlying code.


Can any one guide me.


Supratik Dutta

iamsupratik27's picture
Joined: Nov 17 2016 - 11:12am
Last seen: 3 years 9 months ago

0 Answers:

No answers yet