In java I create the Pojo class and the variable name is “uploads” and the type is Map<String, MultipartFile>. When I try to test this using Postman, I bit struggle to pass the input by FormData. Is there any way to Post the Map type data in Body.
1 Like
Welcome to the Postman Community!
Can you share more details about how you have structured that request in Postman? A visual example would also help here.
1 Like
public class pojo {
public integer Id;
public String name,
public String email;
public Map<String, MultipartFile> uploads;
}
// This is my sample pojo class, I want to make a Formdata request in postman.