First, Charlescharles is commonly used in MAC interception network packets, when doing mobile development, we in order to debug and server-side network communication protocol, often need to intercept network packets to analyze. By setting himself up as a network Access Proxy for the system, Charles enables all network access requests to be done through it, enabling the interception and analysis of network packets. If you need to intercept the parsing SSL protocol or HTTPS-related content. Then you need to install Charles's CA certificate. Charles Main features include: 1, support SSL proxy. You can intercept requests that analyze SSL. 2, support flow control. You can simulate slow networks and long wait times (latency) of requests. 3, support Ajax debugging. JSON or XML data can be automatically formatted for easy viewing. 4, support AMF debugging. The flash Remoting or Flex Remoting information can be formatted for easy viewing. 5, support re-send network request, convenient back-end debugging. 6, support to modify network request parameters. 7, support the interception of network requests and dynamic modification. 8, check whether Html,css and RSS content is in line with the standard http://triph5.m.taobao.com/tms/go/market/trip/mindex.php redirect to Domestic tour address http:// H5.m.taobao.com/trip/holiday/tourlist/index.html?type=guonei Second, Fiddlerfiddler is a tool developed by Microsoft, can be used to intercept the native and the server before all the HTTP communication, Act as a proxy role in this process. It records HTTP and HTTPS requests from all clients and servers, allows you to monitor, set breakpoints, and even modifies input and output data, Fiddler contains a powerful event-based scripting subsystem, and can be extended using the. NET language
For example: in the browser Test p page, p page introduced a JS resource file R.js, because the R.js file on the server s, and I can not log on to the S server (no account of S server), At this point we can download the R.js file locally through the browser, then adjust the local r.js file, and finally, by setting the Fiddler, the R.js file request uses the local r.js file. which
EXACT represents a full match URL for mapping processing
regext: (? insx)Indicates that you can use regular to match which URLs need to be mapped.
Charles & Fiddle