Sniff HTTP packets for GET and POST requests from an application

HttpWireshark

Http Problem Overview


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?

Http Solutions


Solution 1 - Http

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.

Solution 2 - Http

You will have to use some sort of network sniffer if you want to get at this sort of data and you're likely to run into the same problem (pulling out the relevant data from the overall network traffic) with those that you do now with Wireshark.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSumit GhoshView Question on Stackoverflow
Solution 1 - HttpKarl BielefeldtView Answer on Stackoverflow
Solution 2 - HttpTimo GeuschView Answer on Stackoverflow