Category "multipart"

MockMVC - calling a PUT endpoint that accepts a multipart file

I have a simple PUT endpoint in a Spring Boot application: @PutMapping() public ResponseEntity<String> upload(@RequestParam("cats") MultipartFile file) th

How to send List of objects in a multipart request in flutter?

I want to send a List of ManageTagModel in a multipart request along with other models and files.. I am not certain of how to send this List of model.. This i

Content type multipart/mixed not supported / 415 UNSUPPORTED_MEDIA_TYPE (after Spring + Spring Boot upgrade)

I was previously using the following versions of Spring + Spring Boot: <springVersion>5.0.16.RELEASE</springVersion> <springBootVersion>2.0.5.

How to add non-English words as text part to multi-part request in volley lib?

I have a custom json request class to upload multi-part files to server this class in an Android application , it works fine when I add English words as keys an

VSTO Outlook Plugin updates Appointment.Body and thus Outlook shows text instead of html part of multipart message

I receive multipart invitations which include calendar and text and html part. When I open those invitation mails in outlook it shows the html part. Now my code

Converting MultipartFile to java.io.File without copying to local machine

I have a Java Spring MVC web application. From client, through AngularJS, I am uploading a file and posting it to Controller as webservice. In my Controller, I

javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.Multipart

public void parseEml(Message msg) throws Exception { Address[] froms = msg.getFrom(); if (froms != null) { InternetAddress addr = (InternetAddr