Re:Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) wi...
by nachi on Wednesday September 25, 2019 @11:43AM
(#21071839)
What about intercepting requests from other devices on the same network? Fiddler and Charles both let you set a proxy on Android/iOS devices pointing to your instance.
[ Parent
| on HN ]
Re:Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) wi...
by pimterry on Wednesday September 25, 2019 @11:52AM
(#21071941)
HTTP Toolkit can definitely intercept Android & iOS or other network devices, it just can't do it for you automatically (yet. Watch this space: https://github.com/httptoolkit/feedback/issues/10).
If you want to do intercept something manually, there's general instructions under the 'Anything' interception option. In short:
- Set the proxy on the device to point at your machine's local IP, usually on port 8000 (active port is shown under the 'Anything' option)
- Trust the generated MITM certificate on your device, so you can intercept HTTPS too (path to the certificate also shown under 'Anything').
Fundamentally, HTTP Toolkit, Charles & Fiddler are all HTTP & HTTPS proxies, so they all allow intercepting the same things, it's just a matter of how easy the setup process is.
Re:Show HN: HTTP Mock – Intercept, debug and mock HTTP(S) wi...
by debatem1 on Wednesday September 25, 2019 @01:28PM
(#21072982)
I know it isn't exactly what you're doing, but you might want to look at nogotofail on the Android side. It has all the per-app goodness baked in, and you could probably borrow its approach.