手工构造上传消息

POST /UploadFile/uploadfile.jsp HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer:
Cookie:
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=---------------------------7474225831299501178807608656
Content-Length: 344

-----------------------------7474225831299501178807608656
Content-Disposition: form-data; name="filename"


-----------------------------7474225831299501178807608656
Content-Disposition: form-data; name="uploadFile"; filename="1.txt"
Content-Type: text/plain

dqrwerqwerrqr

-----------------------------7474225831299501178807608656--

原文地址:https://www.cnblogs.com/ermei/p/5909664.html