Not able to download file using POST method + Play Framework

Its working when i am using GET Method but not POST . Why need POST Method ? Ans:- I need post method because to download file i have multiple parameter with long length. So i need post method Or if there are any other way please suggest me . I am new with this

NOTE :- Please suggest me if there are any other method to do so.

I am getting response using POST below are the screen shot but file still not downloading.

I am using below lines of code.

String applicationType = contentType+"-download";

response().setContentType(applicationType);  
response().setHeader("Content-disposition","attachment; filename="+fileName); 
return ok(new ByteArrayInputStream(docByteArray)).as(applicationType);

Below are response screen shot i am getting using POST.

Capture