Grab Kit Tools Charles's use __ Grab kits

Source: Internet
Author: User

For a long time not to update the blog, it is more and more lazy, this period changed the home work, changed the door language, 4 months of project reconstruction, a little time off, but also do not want to knock code, write something ....

Let's write it today from Charles,

Operation based on V 4.1.3 version 1. Normal PC End grab package, download the Charles software directly installed on the good, normal can be directly caught bag, if not, please close your network agent tool.
At this time you should find that the HTTPS packet capture is not data, then 2.pc HTTPS capture HTTPS first think of the certificate, yes, is required certificate, first add the certificate and then view the certificate trust certificate
Then enter the password and then you can see the certificate
After the certificate is set, the SSL agent pops up
The following port is set 443, and then you can catch the HTTPS packet 3. Then the mobile phone grab bag first configure mobile agent
And then manually set the agent on the phone to follow the pop-up
And then you can
This is the time to get the HTTP data. HTTPS crawl open mobile browser, enter the above
Then download the certificate, save it locally, this time, the Charles above window will become
This is as good as the PC-side HTTPS crawl . 4. Analog network request Charles also has a better place, that is, you can simulate the server to return a network request data, the role is that the front-end and backend defined network protocol, When the backend interface is not implemented, you can create a returned JSON file locally and then return the JSON content to the front end via the Charles Analog network request. 1. Create a local JSON file, 2.charles find your network request, and then set the JSON file in,

And then

That's it, okay?

⚠️: After the request get must keep the parameters consistent, post does not matter

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.