logo

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:

  1. Ensure Same LAN Connection

    • Connect both your Android device and PC or MAC to the same LAN.
  2. Launch Charles Proxy

    • Start Charles Proxy on your PC or MAC. The default proxy port is 8888.
  3. 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.
  4. Launch Your Android App

    • Open your app on the Android device and monitor HTTP requests in Charles.

Capturing HTTPS Traffic:

  1. Enable Proxy on Device

    • Make sure the proxy settings are correctly configured on your device as described above.
  2. 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.