I know you can manually create a GET/POST/PUT from the ui, but I was wondering if it’s possible via script. I’d like to take information from a previous GET response and use it to create a POST from scratch.
The API for this is terrible at the moment, but you can use the FlowMaster’s
replay_request functions to do just that (documentation is the source, sorry - make sure to select the right version when reading through it).
I opened an issue foor this: https://github.com/mitmproxy/mitmproxy/issues/1473
Has there been any progress with this? As it stands right now, I can’t even get the example dup_and_replay script to work in 0.18.2.