There is one POST API in Azkaban to upload a zip file. I am able to upload by using curl as they have given in documentation.
curl -k -i -H "Content-Type: multipart/mixed" -X POST --form 'session.id=47cb9240-f8fe-46f9-9cba-1c1a293a0cf3' --form 'ajax=upload' --form 'file=@atest.zip;type=application/zip' --form 'project=aaaa;type=plain' http://localhost:8081/manager
http://azkaban.github.io/azkaban/docs/2.5/#api-upload-a-project-zip
But I want to call the same API in Java. Can somebody help me how to do it in Java?