Android : Capturing HTTP Requests with non-rooted android device

后端 未结 8 1106
说谎
说谎 2020-12-12 10:30

I have an android application which uses a third party jar in it. Http request is sent from third party jar to server when application is running. I need to capture HTTP R

8条回答
  •  执念已碎
    2020-12-12 10:36

    You could install Charles - an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet - on your PC or MAC.

    Config steps:

    • Let your phone and PC or MAC in a same LAN
    • Launch Charles which you installed (default proxy port is 8888)
    • Setup your phone's wifi configuration: set the ip of delegate to your PC or MAC's ip, port of delegate to 8888
    • Lauch your app in your phone. And monitor http requests on Charles.

提交回复
热议问题