Sniff HTTP packets for GET and POST requests from an application

Sumit Ghosh picture Sumit Ghosh · Aug 5, 2010 · Viewed 130.7k times · Source

I am coding an SEO tool in C# for doing keyword research. I need to make calls to Google Adword keyword tool. Now I know some tools which are doing the same already.

I just need to decipher what they are doing. I tried using Wireshark but it's very complex to get the actual POST data using Wireshark.

I tried using fiddler on IE but seems like too many Javascript requests are made which confuses fiddler a lot.

If I can just find out the exact requests the other tool is making I think my job is done. How can I do this?

Answer

Karl Bielefeldt picture Karl Bielefeldt · Aug 5, 2010

Put http.request.method == "POST" in the display filter of wireshark to only show POST requests. Click on the packet, then expand the Hypertext Transfer Protocol field. The POST data will be right there on top.