如何使用POSTMAN for Multipart / form-data,它具有自定义标题,用于测试我的控制器,该控制器将2个文件作为参数(public … controller(MultipartFile [] files))?
POST .... HTTP/1.1
.
.
.
---boundary123
Content-type:application/octet-stream
content-Disposition: form-data filenale="abc.txt" name="someuniquename"
[paylaod content](this is in xml format)
---boundary123
content-type:application/json
content-Disposition:form-data name="Metadata"
{ID:"999"}
---boundary123
最佳答案
原文链接:https://www.f2er.com/spring/432611.html