使用 HTTP Toolkit 修改 zip 文件响应
PS:我只需将扩展名从 .zip 更改为 .txt 即可将其转换为纯文本
I have a watch, whose app downloads a zip file from here, processes it, and sets the new watch face. What I want to do, is intercept the response from the server, and modify the zip file, and send it to the app. I am able it intercept, using HTTP toolkit, but when I download the zip, modify it, and then "inject" it, it doesn't accept. Even if I just download it, convert it to plain text, and then inject it without modifying anything, it still returns an error. The zip converted to plaintext is different from the raw data.
How to resolve this, so that I can modify the zip, and have the app still accept it ?
P.S: I'm converting it to plain text by just changing the extension from .zip to .txt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论