Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it is possible to send both a request body and multipart file in the Spring Boot controller via Postman. You can use the "form-data" option in Postman to add key-value pairs for the request body, and also add a "file" type key to select the multipart file to upload. In your Spring Boot controller, you can receive the request body using the @RequestBody annotation and the multipart file using the @RequestParam annotation.