Is it possible to rewrite a status code with Charles Proxy?
Solution 1:
An Update: Version 3.8 of Charles Proxy was just released, with the ability to rewrite the status. From the release notes:
- Rewrite tool: allow rewriting of response status
This version's rewrite UI adds a new "Response Status" rule type:
Solution 2:
1- Select Tools > Rewrite
or OPTION + CMD + R
2- Select Enable Rewrite
and then select Add
3- Fill the fields with your details
4- Add type and action
5- Select type of action - Response Status
for our case -, write value to be changed -500-, write value for replace -200-
Final Step:
6- You are ready to manipulate status code of your response with Charles
Official site of Charles Web Debugging Proxy