post請求失敗
来源:3-9 .网络层框架HiNet设计与开发-下

慕仙3110813
2022-01-02
post請求失敗
----buildParams----: https://api.devio.org/uapi/test/test/
{"timestamp":"2022-01-02T06:35:23.761+0000","status":500,"error":"Internal Server Error","message":"Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no multipart boundary was found","path":"/uapi/test/test/"}```
写回答
2回答
-
CrazyCodeBoy
2022-01-05
少传了个requestPrams 参数导致的
012022-01-05 -
CrazyCodeBoy
2022-01-04
看log是传递文件失败,你传递字符串试下,可参考课程中代码的实现,https://git.imooc.com/coding-304/rn-net-storage/src/master/js/FetchDemoPage.tsx
022022-01-05