一、使用Breakpoins断点
1.1输入666并百度一下,打开Charles找到抓取的该接口
image
1.2右键点击Breakpoints
image
二、开始设置断点值
2.1Proxy点击Breakpoint Settings
image
2.1勾选Enable
image
2.2copy URL
image
2.3copy url完毕点击Add添加
image
2.4把copy的url输入到Host框内
image
image
2.5把Query框内容替换为*
image
2.6修改完*点击Ok
image
三、重新请求接口
image
四、点击Charles的Breakpoints框会发现此接口有Edit Request
image
五、自行修改Request参数并点击Excute
5.1修改Request参数
image
5.2修改完后点击Excute
image
5.3点击Excute之后网页的变化
image
六、停止断点点击Abort即可
image
*****************当找不到Request时,点击Edit设置--Viewers,不要勾选此项即可,点击Ok保存设置
image
image
@希望能帮助到大家!