Uploading multiple files along with body using REST in the request <p>I am trying to send json data and multiple files in the request in spring rest controller. When sending through Advanced Rest Client, it is giving media type unsupported. Is the code below is correct in the controller side ? I have tried sending the body and multiple files in the Advanced Rest Client, is that way correct or any changes needed ? Where is the problem ? </p> <p>Rest controller code -</p> <pre><code>public @ResponseBody String handleMultiFileUpload(@RequestBody Object fullNameWithId,@RequestParam("file") MultipartFile[] files){ // code for manipulating data and uploading to server } </code></pre> <p>Below are the images what I am currently dealing with.</p> <p><a href="https://i.stack.imgur.com/YeKYZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YeKYZ.png" alt="enter image description here"></a></p> <p><a href="https://i.stack.imgur.com/dhZkF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dhZkF.png" alt="enter image description here"></a></p>