charles(2)-charles如何打断点,修改Request数据
1. 打开将要访问的网址,通过Charles抓到想要修改数据的接口
点击选中---》右键勾选Breakpoints
![](https://upload-images.jianshu.io/upload_images/11542804-47f306cf60d06d48.png?imageMogr2/auto-orient/strip|imageView2/2/w/736)
2.点击Charles工具中Proxy----〉Breakpoints settings (mac版是这个)
![](https://upload-images.jianshu.io/upload_images/11542804-f1792cf88ff1fac7.png?imageMogr2/auto-orient/strip|imageView2/2/w/1010)
3. 弹出Breakpoints Settings 弹层
双击Location中的想要打断点的接口,弹出Edit Breakpoints
![](https://upload-images.jianshu.io/upload_images/11542804-ff5991390ec1f99a.png?imageMogr2/auto-orient/strip|imageView2/2/w/855)
将Query中的内容删除,输入*
如果修改Request数据,就将Request勾选
如果修改Response数据,就将Response勾选
![](https://upload-images.jianshu.io/upload_images/11542804-0ec624bbf21c8b53.png?imageMogr2/auto-orient/strip|imageView2/2/w/554)
![](https://upload-images.jianshu.io/upload_images/11542804-b08b3bf96f3806a2.png?imageMogr2/auto-orient/strip|imageView2/2/w/679)
![](https://upload-images.jianshu.io/upload_images/11542804-495a583cca76bb7d.png?imageMogr2/auto-orient/strip|imageView2/2/w/833)
请求 ------