Scene: An HTML page, the Android app uses WebView to display, but the display is not expected. So I wrote a basic WebView demo, using WebView's Loadurl method to request this HTML page. Can be displayed correctly, but the client group grabbed the packet and said I requested the address is not the same, let me grab packet analysis.
Analysis: The app requests this page with additional information such as strings and cookies.
Workaround: Use fiddler grab bag, grab the package process online There are a lot of tutorials, note that some phones may set up the agent when the global agent cannot be set, you can use Proxydroid to set the global agent.
Fiddler Scratch Contractor has the ability to respond automatically to a request using a custom URL.
For example, you can set the request google.com when you use the baidu.com response.
After packet capture analysis, it is found that the Web page is displayed correctly using the default WebView configuration.
Using Fiddler to capture and analyze mobile phones