Android : Capturing HTTP Requests with non-rooted android device
There are many ways to do that but one of them is fiddler
Fiddler Configuration
- Go to options
- In HTTPS tab, enable Capture HTTPS Connects and Decrypt HTTPS traffic
- In Connections tab, enable Allow remote computers to connect
- Restart fiddler
Android Configuration
- Connect to same network
- Modify network settings
- Add proxy for connection with your PC's IP address ( or hostname ) and default fiddler's port ( 8888 / you can change that in settings )
Now you can see the full log from your device in fiddler
Also, you can find a full instructions here
I just installed Drony. It's not shareware and does not require root on a phone with Android 3.x or above.
https://play.google.com/store/apps/details?id=org.sandrob.drony
It can intercept and log requests.
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.