大圣 2019-01-14
Charles Mac是一款免费的HTTP信息抓包工具,可以有效地获取HTTP通信信息,主要用于网页的开发和调试等,Charles Mac可以看json和xml。但是其实用Google Chrome安装插件也是可以看到漂亮的格式的,可以检查HTMl,CSS和RSS内容是否标准。 Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then configured to access the Internet through Charles, and Charles is then able to record and display for you all of the data that is sent and received. In Web and Internet development you are unable to see what is being sent and received between your web browser / client and the server. Without this visibility it is difficult and time-consuming to determine exactly where the fault is. Charles makes it easy to see what is happening, so you can quickly diagnose and fix problems. Key Features * SSL Proxying – view SSL requests and responses in plain text * Bandwidth Throttling to simulate slower Internet connections including latency * AJAX debugging – view XML and JSON requests and responses as a tree or as text * AMF – view the contents of Flash Remoting / Flex Remoting messages as a tree * Repeat requests to test back-end changes * Edit requests to test different inputs * Breakpoints to intercept and edit requests or responses * Validate recorded HTML, CSS and RSS/atom responses using the W3C validator Charles主要功能 * 支持SSL代理。可以截取分析SSL的请求。 * 支持流量控制。可以模拟慢速网络以及等待时间(latency)较长的请求。 * 支持AJAX调试。可以自动将json或xml数据格式化,方便查看。 * 支持AMF调试。可以将Flash Remoting 或 Flex Remoting信息格式化,方便查看。 * 支持重发网络请求,方便后端调试。 * 支持修改网络请求参数。 * 支持网络请求的截获并动态修改。 * 检查HTML,CSS和RSS内容是否符合W3C标准。