2 ms·
What I've used it for on the past: 1. Debugging client/server API calls to isolate problems in complex JSON interactions. You can even set breakpoints to modif
by sangnoir 4y ago
What I've used it for on the past:
1. Debugging client/server API calls to isolate problems in complex JSON interactions. You can even set breakpoints to modify server responses on the fly (within the client timeout period)
2. Capturing live responses from API for replaying in client regression tests.
3. Faking server responses for a subset of routes that haven't been implemented on the server-side yet, while keeping all other routes intact (e.g. auth). This enables parallel client & server development. Scripting Mitmproxy in Python is easy.
4. Non-software engineering use case: replacing resources on third party websites. e.g. injecting a dark mode css file into a website rhat doesn't officially support one.