Re:Ask HN: Best Way to Mock APIs in 2020?
by triztian on Sunday June 14, 2020 @05:10AM
(#23516163)
I've found mitmproxy (https://mitmproxy.org) in reverse mode really useful. I'm a mobile dev and when the backend work is still pending I usually mock the backend requirements by selectively patching or adding endpoint support, it can be used like so:
This allows me to implement most of the UI and server interactions w/o being blocked by server work.
[ Parent
| on HN ]
Oh, this looks interesting. Thank you for the pointer.
I think we can use both: https://docs.mitmproxy.org/stable/addons-scripting/
For mocking, and dump/replay for debugging for some of our projects.