fiddler可以像postman、JMeter等一样,发送http请求。

——————————————————————————————————————————————————-

fiddler中的composer选项卡,可以发送http请求:一般有2种编辑方式:

(一)、parsed模式:这个模式比较常用,把http请求分为3个部分:起始行、请求header、请求body。

(二)、raw模式:该模式需要一行一行的写一个http请求。

fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

=================================================================================================================

(一)、parsed模式:

fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

 fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

 fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

======================================================================================================================

(二)、raw模式:

fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

GET https://www.ifeng.com/ HTTP/1.1
Host: www.ifeng.com
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: userid=1564837101050_7nh6sy5816; prov=cn025; city=025; weather_city=js_nj; region_ip=122.192.8.x; region_ver=1.2; UM_distinctid=16c579025fafd-0e9365b0a4099b-3f385a04-100200-16c579025fb78b; vjuids=51ccc91b9.16c89e8ce50.0.979cc06890004; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%2216d15c3aca5607-0d85ee652ca8fd-3f385a04-1049088-16d15c3aca66b0%22%2C%22%24device_id%22%3A%2216d15c3aca5607-0d85ee652ca8fd-3f385a04-1049088-16d15c3aca66b0%22%2C%22props%22%3A%7B%7D%7D; BDTUJIAID=aa1272bfb71e9b7dec1182c8ddef5b37; TEMP_USER_ID=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1ZDc2MzYzM2NhZGRlIiwidGltZSI6MTU2ODAyODIxMX0.pApw5Ge7lPvGYybBe4jx2i_U5qDqRNZ0OWGM1MsH-sA; vjlast=1565681832.1571236120.23; _ga=GA1.2.2009071218.1574686487; __gads=Test; Hm_lvt_eec74a48e4ee616a7d04ec5386b2110a=1575035654; Hm_lvt_39de86b94d58b8f1b70a5c05d42b99e0=1577542330; Hm_lvt_1cb71edc4dba26a3668734818308dda8=1577542330; region_ver=1.30; icast_apc_10031=2; adb_isBlock=0; wxIsclose=false; prov=cn0311; city=0316; weather_city=hb_lf; region_ip=43.255.75.227; ifengWindowCookieName_919=1; ifengRotator_iis3=98; ifengRotator_iis3_c=8

fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园

 fiddler——composer发送http请求:parsed模式、raw模式-冯金伟博客园