Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi - loging all HTTP request

I need loging all HTTP request (from any application). I have Delphi 7.0. Anybody know how do that?

like image 225
benasio Avatar asked Jun 16 '26 09:06

benasio


2 Answers

I looked into whether the Indy components could do this but found an old newsgroup response from Remy Lebeau that said:

If...you want to look at the traffic that other applications are generating, then no, you cannot use Indy for that. That is outside the scope of what Indy is designed for. You would have to write your own NDIS driver for that kind of capturing. Or use a third-party sniffer API, such as WinPCap.

like image 139
J__ Avatar answered Jun 19 '26 10:06

J__


What about WireShark?

There is also a product called Fiddler. I have found this extremely useful to track down exactly what the Indy components are sending/receiving. The one drawback is you have to utilize a proxy. This isn't a problem with Indy components and browsers such as Firefox. But if you need to capture for all applications you would need to be able to set a proxy for those apps.

like image 36
M Schenkel Avatar answered Jun 19 '26 09:06

M Schenkel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!