file download via http post is returning the zip file contents
问题 I could see many related topics, but I have a specific problem. I am using spring boot controller to download a zip file. I am able to download the file when it is http verb get, but as I have to pass a big json payload I changed to post. Since then instead of downloading it as file it is responding the contents of the file with some ascii characters. Below is the method in controller for downloading the file. @ApiResponses(value = { @ApiResponse(code = 404, message = "file could not be found