我该如何使用 Fiddler 检查来自 Web 服务器的响应?我可以通过将 URL 粘贴到请求构建器字段中轻松检查 GET 方法,并在 XML/JSON 中获取响应。有一个选项 POST,但是我不知道如何将参数传递给 POST。
例如:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://www.google.com/accounts/ClientLogin");
request.Method = "POST";
string postData = "accountType=HOSTED_OR_GOOGLE";
postData += "&Email=yourusername@gmail.com";
postData += "&Passwd=yourpassword";
postData += "&service=finance";
postData += "&source=test-test-.01";
我该如何将我的数据传递到Fiddler中的POST方法,以获取响应?