Downloading Excel using POST Rest Service
<p>I'm using REST web services provided by Spring Framework.
I need to download an excel sheet but i also need to donwload the sheet on basis of some selected parameters. I'm sending a request class object as the Body to a POST Rest call(@RequestBody)</p>

<p>I could not download the excel using a POST Method. Please help me to achieve this.</p>

<pre><code>@RequestMapping(value = "/search/export", method = RequestMethod.POST,, produces = MediaType.APPLICATION_JSON_VALUE)
public void searchResultToExcel(@RequestBody SearchRequest searchRequest, HttpServletResponse response, HttpServletRequest request) throws Exception 
</code></pre>

<p>This is my method signature</p>