Fiddler, this is an essential artifact for all software developers! This tool can not only crawl the data packets on the PC when developing the Web, but also can crawl the mobile side (Android,iphone,windowphone, etc.).
First step: Download artifact fiddler, download Link:
http://w.x.baidu.com/alading/anquan_soft_down_ub/10963
After the download is complete, the idiot installs it!
Step Two: Set fiddler
Open Fiddler, tools-> Fiddler Options (remember to restart Fiddler after configuration)
With "Decrpt HTTPS Traffic" selected, fiddler can intercept HTTPS requests
Select Allow remote computers to connect. is to allow other machines to send HTTP/HTTPS requests to fiddler.
Remember this port number is: 8888
Step three: Set up your Android phone
First get the IP address of the PC: command line input: ipconfig, get IP address
Okay, so I got the IP address and port number.
The following are proxy settings for Android phones
Make sure your phone and PC are connected to the same LAN
Enter the phone settings, click enter Wi-Fi settings, select the wireless network connected to, long press the pop-up options box::
Set the proxy to manual, fill in the IP address and port number obtained above, and click Save. This will make our phone set up successfully.
Fourth step: Download the Fiddler security certificate
Use your Android phone's browser to open: http://192.168.1.96:8888, click "Fiddlerroot Certificate" and then install the certificate:
Here we set all the values, the following test, open the phone's Super curriculum app
This is to crawl the Android mobile data packet success, this for our network data request after the debugging has a lot of help, we can use this method to determine whether we request the network is successful!