How to change response body with Charles?
The Map Local tool is probably what you're looking for. Access via menu Tools | Map Local.... Note, you may need a corresponding rewrite rule (Tools | Rewrite...) to ensure the mime type of your response served from disk and the type your application is expecting. But recent versions of Charles may set the type automatically.
Share how to Enable breakpoints, then change response.
- request the link firstly. then enable breakpoint > in the http request right click > choose Breakpoints
2. Menu Proxy > Breakpoints Settings > double click the request link
3. change the Scheme GET/POST > Query *
4. modify the request, change the tab Edit Request > you can change the URL, Headers, Cookies, etc > then click the Execute
5. edit the response: choose tab Edit Response > change the response > click the Execute
Enjoy it. You make it.