We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
时间:2017-02-27 10:29:58 作者:转载
现在APP开发中,测试手机上数据包是否正常,是很重要的一个环节。 APP打包好了,在手机上测试,发现了异常,第一步就是需要判断下是否服务端返回的数据是有问题的。
这里讲解下 charles 抓包工具如何抓去 Iphone下的数据包
下面这几个步骤后,亲测可以使用,并且抓去了一些简单的数据
手机和Mac连接在同一个Wife
proxy --> proxy settings
默认使用 8888就可以了。
# 打开终端 ifconfig # 或者, 按住option+鼠标点击右上角wife信号烂
iphone-》设置-》wifi-》找到相对应的wifi,设置http代理为手动,服务端和端口和mac电脑上的一致。
现在在看 charles的列表,就会发现有多出来一些手机的请求了。
如果请求的接口需要证书的话,则参考《 iPhone 抓包工具Charles使用》
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Charles抓取Iphone上的数据包
一、前言
现在APP开发中,测试手机上数据包是否正常,是很重要的一个环节。 APP打包好了,在手机上测试,发现了异常,第一步就是需要判断下是否服务端返回的数据是有问题的。
这里讲解下 charles 抓包工具如何抓去 Iphone下的数据包
二、抓去App上数据包的流程
1. 启动Charles ,代理配置
proxy --> proxy settings
2. 查看mac电脑的IP地址
3. 设置手机的Http代理
iphone-》设置-》wifi-》找到相对应的wifi,设置http代理为手动,服务端和端口和mac电脑上的一致。

4. 搞定
现在在看 charles的列表,就会发现有多出来一些手机的请求了。
三、参考文章
The text was updated successfully, but these errors were encountered: