如何让 Indy 请求出现在 Fiddler 中?
尝试检查从我的应用程序发布的标头信息,但 fiddler 似乎没有拾取任何内容。
我还在我的应用程序中使用 Web 服务,当我调用一些 API 时,我可以在 Fiddler 中看到这些请求,但是,当使用 Indy 10 执行自定义请求时,似乎没有任何结果。
Trying to inspect the header information being posted from my app but fiddler doesn't seem to pick anything up.
I am also using a web service in my app and when I invoke some of the APIs I can see these requests in Fiddler, however, when doing custom requests using Indy 10 nothing seems to be picked up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Indy 使用 WinInet 吗?如果不是,那就是问题所在。 Fiddler2 将自身作为代理插入到您的 Internet 设置中,但使用自己的通信堆栈的 SoapUI 等程序不使用 WinInet,因此不会(自动神奇地)通过 Fiddler2。所以你可能需要搞乱代理设置。
Does Indy use WinInet? If not, that's the problem. Fiddler2 inserts itself as a proxy in your internet settings, but programs like SoapUI that use their own communication stack don't use WinInet, and therefore don't (auto-magically) pass through Fiddler2. So you may need to mess with proxy settings.
我使用一个构造来处理 Fiddler 中的请求:
I use a construction to handle the requests in Fiddler: