Thereβs a great Charles tool for this.
About Charles
Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Then your web browser (or any other Internet application) is configured to access the Internet through Charles, and then Charles can record and display for you all the data that is sent and received.
In web and internet development, you cannot see what is sent and received between your web browser / client and server. Without this appearance, it is difficult and time-consuming to determine exactly where the error occurs. Charles can easily see what is happening, so you can quickly diagnose and fix problems.
Charles makes debugging fast, reliable, and advanced; saving you time and frustration!
Main functions
- SSL Proxying - View SSL requests and responses in plain text
- Bandwidth throttling to simulate slow Internet connections, including latency
- AJAX Debugging - View XML and JSON requests and responses as a tree or text
- AMF - View Flash Remoting / Flex Remoting message contents as a tree
- Repeat queries to check for internal changes
- Edit queries to test different inputs
- Breakpoints for intercepting and editing requests or responses
- Validate recorded HTML, CSS, and RSS / atom responses using the W3C validator
All of the above content is taken from the CHARLES website .
Amol
source share