How to change response body with Charles?

后端 未结 4 1636
时光说笑
时光说笑 2020-12-30 19:55

I am using Charles (http://www.charlesproxy.com) to debug my HTTP requests and now I run into an issue where I am receiving json response which I need to edit to see how my

4条回答
  •  轮回少年
    2020-12-30 20:25

    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.

提交回复
热议问题