views:

182

answers:

3

Is there an easy way to examine the HTTP GET/POST/OPTIONS/HEAD etc requests being made by jquery ajax calls using WebKit's Web Inspector? I'm hand crafting responses and am looking for a simple way to monitor the back and forth traffic.

A: 

I'm not sure that WebInspector is designed to do what you are asking.

I use tcpTrace from PocketSoap. I set my web browser up to use tcpTrace as a proxy. It records all of the traffic going back and forth. Its pretty slick.

TimG
+1  A: 

You could also use Firebug (a Firefox plugin) or a sniffer like Wireshark (here some example filters for Wireshark).

Sergi
+1  A: 

The Resources tab will show Request/Response headers and the response itself. Were you looking for something else? Using "Sort by Start Time" is probably the most useful setting for watching new requests.

Andy Gaskell
Oh yeah! It does. Just tried it on this page. I never noticed that before. Awesome.
Nosredna
I think a lot of folks underestimate Web Inspector - without taking anything away from Firebug, it's an impressive tool!
Andy Gaskell
I use it. It's just that I don't pay attention as it gets updated. That's the crazy thing about Chrome. Updates happen silently.
Nosredna