fiddler使用
一、Content-type为application/x-www-form-urlencoded
#请求头
User-Agent: Fiddler
Host: localhost:8080
Content-Length: 153
Content-type: application/x-www-form-urlencoded
#post请求传参方式
title=测试
&detail=加油
二、Content-type为application/json
#请求头
User-Agent: Fiddler
Host: localhost:8080
Content-Length: 153
Content-type: application/json
#传参为json格式的
{
"title":"测试",
"detail":"加油"
}
#注意要用英文的双引号和冒号,value的值为非字符串的,不需要加双引号
三、查看请求结果