Fiddler Everywhere is recommended as a package capture tool. It has the simplest interface and the most comprehensive functions (with Postman) that I have ever used, and is the most comfortable to use.
Download addresswww.telerik.com/download/fi…
Install, register an account, and the following interface is displayed after login
Android phone bag capture
1. Open the Settings, select these two, and click Trust Root Certificate button. In the dialog box that pops up, click Permit
2. Select Connections, check these two boxes, and remember the port numbers aboveSave Settings
3. Check the network where the computer is located. If the mobile phone and the computer are on the same network, you can move the mouse to Connected in the lower right corner to check4. Connect the mobile phone to wifi on the same network as the computer, open wifi Settings, select Manual Proxy, and set THE IP address and port to those set by the client5. Enter the IP address and port number of the previous step, such as 192.168.3.8::8877, in the mobile phone browser. If the IP address cannot be opened, close the firewall and try again6. Click FiddlerRoot Certificate, download the certificate, and then install the certificate
IOS caught
Because there is no device, no steps will be written, you can refer to the official document docs.telerik.com/fiddler-eve…
The Post Man function
Right-click on a request and click on Eidt in Composer to modify a request
Modifying returned data
1. Click Add New RuleSelect matching rules and return dataThe above figure shows the request address containing the returnGeometry string, and the return result is localhttp://127.0.0.1:8081/test/tb the data returned
EXACT: returns 404 that matches the EXACT address
For more matching rules, see the official document docs.telerik.com/fiddler-eve…