How to inspect HTTP requests made by WebViews

前端 未结 3 1332
野的像风
野的像风 2021-01-04 18:32

As you know, a lot of request (images, scripts, AJAX, etc.) are send when loading a single page. So I need to get all those request and inspect them.

So the question

3条回答
  •  被撕碎了的回忆
    2021-01-04 19:21

    The easiest way is to use a proxy. I use Charles, but I'm sure there are others. On the device, go to the WiFi settings, long click the one you're connected to, select "modify network" and enable the advanced options. There you'll be abel to configure the proxy settings for the whole device.

提交回复
热议问题