curl post请求

[jht@dlpt-pic jsifs-filefw]$ curl -X POST -H 'Content-Type: application/json' -i 10.1.55.168:8124/uploadFile 
HTTP/1.1 200 
Content-Type: text/plain;charset=UTF-8
Content-Length: 152
Date: Mon, 13 Dec 2021 05:52:31 GMT

{"resultCode":1,"message":"org.apache.catalina.connector.RequestFacade cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest"}
原文地址:https://www.cnblogs.com/zhouzhiguo/p/15683099.html