Whether we do Android development or iOS development, sometimes we make an App ourselves so, the most headache is the data, how should our data be obtained?
In fact, now so many of the app is not all have their own server to do background data, then, where did they get the data? Today, we will look at how to get the data in other people's app, in fact, these data is actually an interface, we have to do is how to crawl these interfaces.
Here I'm just talking about the Mac (which is actually the iOS development Grab interface Steps):
First, we have to get the tools we need first.
1.mac OS (not necessarily Mac)
2. Is the Paros tool we need (this Baidu search Paros for Mac OK)
3. It's our operating environment. JDK I directly to your official website jdk-> (JDK download)-(If the connection fails, please download it by yourself, open the official website, www.oracle.com Point Dowmload point Java SE can see the JDK download link) here to notice : Figure 1
Choose where to draw the circle
Download it now-it's ready to install.
The preparation steps are ready, and we'll start now how to connect our mobile and PAROS agents.
First of all, you can open your PAROS, if you do not open may be because your environment is missing, will be prompted to change, I will no longer wordy!
Start opening your Paros is like this figure 2
Then we're going to set up a proxy for him. See Figure 3, Figure 4
Next, we are going to set up our phone agent, turn on the phone wireless settings, (here Android-iphone can) are set to the same as we just set it!
OK, now run the iphone/Android program to see the packet. There are two kinds of get protocol and post protocol.
Direct analysis is good. You can use Visualjson to parse the data.
Using the Paros Grip interface