根据post请求的入参,进行不同条件的过滤拦截
fiddler中有个自带的规则URLWithBody:Upload.phpregex:^.BodyText.$(如下图)能够很好的解决这个问题
例如:
需要拦截的请求:
http://nihao.sogou.com/ body的内容:first=hello
http://nihao.sogou.com/ body的内容:first=good
http://nihao.sogou.com/ body的内容:first=nice
设置规则:
URLWithBody:nihao.sogou.com regex:.hello.
URLWithBody:nihao.sogou.com regex:.good.
URLWithBody:nihao.sogou.com regex:.nice.
规则示例:
此外url部分使用正则表达式,依然有效,例如: