You can check the following screenshot, for setting this header value. In Postman all requests should have one header named “Content-Type” with value “multipart/form-data”. All examples assume that you already have one controller which is annotated with annotation.Ģ. To understand spring rest multipart file upload examples in Java, I will try to explain with different examples where you can upload a single file in many ways, upload a list of files, upload as an object or upload a list of objects containing images from Postman. Example 8: Spring boot multipart file upload example as a list of objects.Example 7: Spring boot multipart file upload example as an object.