Sometimes when you want to look at the development of the app to see the HTTP request and response is what, this need to grab the packet, this can get some unknown API, such as can also do some "bad" ...
Tools Required:
- Fiddler2 Grab Bag (click to download)
- Android Phone One PC
First, how to use Fiddler2
After the download is complete, the installation process is not mapped.
If you set the Fiddler agent:
Click OK, here the agent is set to complete, be sure to restart the software configuration to take effect, the following is the phone-side settings.
Second, the mobile terminal proxy settings
Take Samsung S4 as an example,
1, such as the real machine Samsung S4 settings:
Find your wifi and must be in the same wifi as your computer and phone. It is best to send a WiFi to the computer.
Press and hold the WiFi hotspot and select Modify Network configuration.
The proxy is set to: manual, the proxy host name is your computer IP, the port is the port just fiddler set.
-----------------------------------------------------------------------------------------
2, Simulator (Android 2.3) settings
To set it up here, let's see what we've got.
--------------------------------------------------------------------------------------------------------
Let's take a look at the Weibo client , get the homepage content as follows:
Can't help but sigh, very good very strong ~~~~~~~~~~~~~~~~~~~~~~~~
Tip: Fiddler can be set to filter, it is easy to see the HTTP package we want: