Fidder响应post的请求 request body里面填写什么?

若是想传json格式的数据,请求头可以这样写:(应该先勾选 post,然后写上正确滴请求地址)User-Agent: Fiddler Host: localhost:1455 当然这个地方应该是你本地滴服务 Content-Type: application/json; charset=utf-8 Content-Length: 38

 

request body这样写:{"参数名":"参数值","参数名":"参数值",...}

 

若是传的不是json数据,请求头可以这样写: User-Agent: Fiddler Host: localhost:1455 Content-Type: application/x-www-form-urlencoded;charset=utf-8 Content-Length: 38

 

request body这样写: name1=valule1&name2=value2...

 

注意事项:在Fiddler2模拟POST请求的时候,在请求头的输入框里面,需要设置 ContentType:application/x-www-form-urlencodedContent-Type设置的很重要,设置的和request body里面的数据类型不一致,就不能传

 

Fiddler是最强大最好用的Web调试工具 http://www.cnblogs.com/dudu837/p/4323040.html

如何使用Fiddler对Android应用进行抓包http://blog.csdn.net/zhangxing52077/article/details/53677864

 

查看原文