J'ai créé un service de repos pour télécharger un fichier. Mon service consomme Stream pour le fichier et Map of String pour quelques informations.pouvons-nous utiliser le type d'octet stream et json ensemble?
@RequestMapping(value = "/upload" , method = RequestMethod.POST)
public void upload(InputStream file,Map<String, String> fileInfoMap) {}
Si oui, comment appeler le service avec POSTMAN? si non alors s'il vous plaît suggérer des alternatives?
vérifier cette si c'est utile http://stackoverflow.com/questions/9081079/rest-http-post-multipart-with-json – aravindKrishna