Question

I'm trying to automate the set-up of re-write rules for charles proxy, I went through the documentation but I could not figure out a solution to automate this. Please let me know if it is possible to set-up the re-write rules from CLI and are there any mechanisms to automate this?

Was it helpful?

Solution

There is no proper cli, but you can access the control.charles browser interface via curl or a different tool. Check out http://www.charlesproxy.com/documentation/using-charles/web-interface/

I've used something like curl -x 127.0.0.1:${CHARLESPORT} http://control.charles/${ENDPOINT}

Sorry this response is so late.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top