版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/daiyudong2020/article/details/78447013
HTTP表单本质上是一种HTTP的Content-Type,application/x-www-form-urlencoded,数据本质上是通过HTTP body传输
例子,有HTML页面如下
点击按钮提交,通过抓包工具,抓到数据如下
POST http://bssmanage.test.net/query/file HTTP/1.1
Host: bssmanage.test.net
Connection: keep-alive
Content-Length: 30
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
bucket=a&filename=1&filetype=1
总结:表单是一种特定格式的数据,在HTTP body中传输,与Json类似
原文出自:http://blog.csdn.net/daiyudong2020/article/details/78447013
扫描二维码关注公众号,回复:
5583523 查看本文章
End;