如何处理具有不同内容类型的multipart / form-data?

时间:2017-01-19 01:53:27

标签: spring rest parsing web https

如何使用具有不同内容类型的Spring框架解析multipart / form-data?

Content-Type: multipart/form-data; boundary=----------287032381131322
Content-Length: 999   
----------287032381131322
Content-Disposition: form-data; name="targetDevices"
Content-Type: text/JSON
[ “12345678”, “22345678”, “32345678 ]

----------287032381131322
Content-Type:application/octet-stream 
Content-Length:<file length>
<file goes here…>

0 个答案:

没有答案
相关问题