1.点击“断点”按钮,打开或关闭打断点功能
2.Proxy->Enable Breakpoints :打开打断点功能
3.打开打断点功能后,在请求上右键,然后选择“Breakpoints”
4.清空原来请求,用浏览器再次输入账号和密码,点击登录
5.charles就可以自动的拿到url请求的断点
6.比如“Edit Request”,可以编辑请求的信息:有URL、Headers、Cookies、Text、Form、Raw
7.比如可以把From中的字段的值进行修改,然后点击“Execute”,执行请求
8.可以“Edit Response”,编辑响应,然后点击“Execute”,执行后续操作
9.断点就是每一个请求都会暂停可操作
10.点击断点按钮关闭打断点,则不再打断点
二、更改请求
三、修改响应结果:
1.例如:ui界面显示,当显示只有一行,单数据超过一行时,数据的显示,会不会显示不全,叠加或者造成样式错乱等。
2.通过抓包可以篡改数据;