Fiddler绝对可以根据POST主体的内容返回自动生成的响应,您根本无法使用UI执行此操作.单击"规则">"自定义规则",然后在OnBeforeRequest处理程序中输入脚本.
if (oSession.uriContains("postpage.aspx") &&
oSession.utilFindInRequest("mypostname=value"))
{
oSession["x-replywithfile"] = "C:\\fakeresponse.htm";
}
Run Code Online (Sandbox Code Playgroud)