Capturing HTTP Requests on a Non-Rooted Android Device
O
Ohidur Rahman Bappy
MAR 22, 2025
Capturing HTTP Requests on a Non-Rooted Android Device
You can capture HTTP requests on a non-rooted Android device using Charles, an HTTP proxy/monitor/reverse proxy. It allows developers to view all HTTP and SSL/HTTPS traffic between their machine and the Internet.
Configuration Steps:
-
Ensure Same LAN Connection
- Connect both your Android device and PC or MAC to the same LAN.
-
Launch Charles Proxy
- Start Charles Proxy on your PC or MAC. The default proxy port is 8888.
-
Configure Wi-Fi on Android Device
- Set the proxy settings on your Android device:
- Enter the IP address of your PC or MAC as the proxy server.
- Set the proxy port to 8888.
- Set the proxy settings on your Android device:
-
Launch Your Android App
- Open your app on the Android device and monitor HTTP requests in Charles.
Capturing HTTPS Traffic:
-
Enable Proxy on Device
- Make sure the proxy settings are correctly configured on your device as described above.
-
Install SSL Certificate
- Navigate to chls.pro/ssl on your Android device.
- Download and install the certificate on your device to capture HTTPS traffic.
By following these steps, you can effectively monitor and analyze HTTP and HTTPS requests from your non-rooted Android device using Charles Proxy.