Android HTTP Grab Bag

Source: Internet
Author: User
Tags fiddler2

Sometimes when you want to look at the development of the app to see the HTTP request and response is what, this need to grab the packet, this can get some unknown API, such as can also do some "bad" ...

Tools Required:

    1. Fiddler2 Grab Bag (click to download)
    2. Android Phone One PC

First, how to use Fiddler2

After the download is complete, the installation process is not mapped.

If you set the Fiddler agent:

  

  

Click OK, here the agent is set to complete, be sure to restart the software configuration to take effect, the following is the phone-side settings.

Second, the mobile terminal proxy settings

Take Samsung S4 as an example,

  1, such as the real machine Samsung S4 settings:

Find your wifi and must be in the same wifi as your computer and phone. It is best to send a WiFi to the computer.

    

    

Press and hold the WiFi hotspot and select Modify Network configuration.

    

The proxy is set to: manual, the proxy host name is your computer IP, the port is the port just fiddler set.

    

-----------------------------------------------------------------------------------------

  2, Simulator (Android 2.3) settings

    

    

    

    

To set it up here, let's see what we've got.

--------------------------------------------------------------------------------------------------------

Let's take a look at the Weibo client , get the homepage content as follows:

Can't help but sigh, very good very strong ~~~~~~~~~~~~~~~~~~~~~~~~

Tip: Fiddler can be set to filter, it is easy to see the HTTP package we want:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.