[mitmweb] ft request: copy as curl
See original GitHub issueProblem Description
There’s many a time (ok this just happened once but I think others may find this useful) where I want to copy a request in the format of a curl command for replay later.
Proposal
A simple button to ‘copy as curl’ added somewhere in the GUI. I’m not sure how this would work in mitmproxy (if at all).
I would be willing to look into implementing this as I could see myself using it in the future (if this is in the spirit of the project). Depending on how requests are retained, this could be a little difficult (I admit I have little experience with the codebase). I opened this issue so that others could share how they think it should be implemented - any general ideas or implementation advice would be much appreciated!
Alternatives
copy relevant details and translate to a curl command by hand
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Top Related StackOverflow Question
@Prinzhorn: yes, thanks - I’m aware. It’s evolved a bit 😉
This is available on main and in the development snapshots now (https://mitmproxy.org/downloads/#branches/main/). 😃🍰