First, Fiddler What is it?
• A Web Debugging tool.
• HTTP and HTTPS requests can be logged for all clients and servers.
• Allows monitoring, setting breakpoints, and modifying input/output data.
Official document (English): Http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureFiddler
Second, Fiddler Download
Official website: Http://www.telerik.com/download/fiddler
Third, Fiddler The working principle
Fiddler is working as a proxy Web server, which uses proxy addresses: 127.0.0.1, Port: 8888. When Fiddler exits, it automatically logs off, so that no other program is affected. However, if Fiddler exits abnormally, this is because Fiddler does not log off automatically, which can cause the webpage to be inaccessible. The workaround is to restart the next fiddler.
Four, Fiddler Basic Usage
• Interface layout:
• After opening fiddler, make any request in the browser, can be fiddler record, including return code, request protocol, host name, request address, etc.
You can view detailed request information in the request area and see the detailed return results in the response area.
Such as
Five, Fiddler grab the bag on the phone
First step: Set the Fiddler to allow remote connections.
Locate Tools->fiddler options->connections, select Allow remote computer to connect, click OK, and then restart Fiddler.
Such as:
Step Two: Modify the phone connection network to proxy mode.
Open the WiFi you are connecting to, and then find:
1, modify the network (general Long Press will appear)
2. Click Show Advanced Options------Manually
- The proxy server hostname is set to the computer local IP address and the port is set to: 8888
Such as
Add: View local IP: Open cmd, enter ipconfig carriage return, and find IPV4 address
Such as:
Step three: Verify in Fiddler.
In the mobile phone with the browser or other apps, make network requests, can be recorded in the Fiddler,
For example: Open the browser on the phone, Baidu search my blog name Codingblock,
This is the request that will be recorded in the Fiddler.
Such as:
You can also view different formats of
-
Fiddler basic usage and how to grab a bag on your phone