[英]Is it possible to modify the data received by a mobile device, using an app on the Mac or PC?
I used Charles Proxy before, which can modify the data received by a browser, so it is really convenient that we can test our bug fixes without modifying the production server, either for the webpage content or for the AJAX data. 我之前使用过Charles Proxy,它可以修改浏览器接收到的数据,因此,在不修改生产服务器的情况下,无论是网页内容还是AJAX数据,我们都可以方便地测试我们的错误修复程序。
Is it possible to do something similar for a mobile phone app, either for iPhone and Android phones? 是否可以对iPhone和Android手机的手机应用程序执行类似的操作? I can let the Mac (or probably a PC too) act as a Wifi station (access point) and let the mobile phone connect to it, and is there an app that can act like Charles Proxy (perhaps Fiddler?) that can examine and modify data? 我可以让Mac(或者可能也可以是PC)充当Wifi站(访问点)并让手机连接到它,是否有一个可以像Charles Proxy(也许是Fiddler?)一样运行的应用程序可以检查并修改数据?
@nopole If you are using Charles, I suppose you can use Breakpoint feature to intercept and edit HTTP requests/responses coming from/to your mobile devices. @nopole如果您使用的是Charles,我想您可以使用Breakpoint功能来拦截和编辑来自移动设备的HTTP请求/响应。 It works for both browsers and mobile devices. 它适用于浏览器和移动设备。 Or else you can try using Proxyman . 否则,您可以尝试使用Proxyman 。 It's a native macOS app and quite similar to Charles/ Fiddler. 这是一个本地macOS应用程序,与Charles / Fiddler非常相似。 You can read an example of how to use the Breakpoint to manipulate data here . 您可以在此处阅读如何使用断点操作数据的示例。 Hope it helps! 希望能帮助到你! :) :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.