I'm using Charles Proxy to rewrite a response from an API for testing purpose.
If I set a breakpoint, I am allowed to completely rewrite the raw response as I wish.
However, if I want to automate it via the "Rewrite" tool, I'm stuck, it seems that you cannot modify the status code:
Do you know if I'm missing something?
Rewrite Tool ⌘ command + ⌥option + R - Modify requests and responses as they pass through Charles. Breakpoints Tool ⌘ command + ⇧ shift + K - Intercept and edit requests and responses before they are sent and received.
The Rewrite tool enables you to create rules that modify requests and responses as they pass through Charles. Rules such as adding or changing a header or search and replace some text in the response body.
An Update: Version 3.8 of Charles Proxy was just released, with the ability to rewrite the status. From the release notes:
This version's rewrite UI adds a new "Response Status" rule type:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With