什么是简单的方法来查看AJAX调用的方式? [英] What's an easy way to see what AJAX calls are being made?

查看:139
本文介绍了什么是简单的方法来查看AJAX调用的方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一些东西(最好是一个Firefox扩展),这将允许我查看所有AJAX子请求。基本上,随着XMLHTTPRequest()被创建,我想知道正在请求什么URL,以及什么(如果有的话)GET和POST vars一起传递。

I'm looking for something (preferably a Firefox extension) which will allow me to see all AJAX subrequests. Basically, anytime an XMLHTTPRequest() is made, I want to know what URL was being requested and what (if any) GET and POST vars were passed along with it.

除非我错过了,否则我在Firebug或Web Developer Toolbar中看不到任何东西。

Unless I'm missing it, I don't see anything quite like this in Firebug or Web Developer Toolbar.

(如果你好奇,想要这个的主要原因是我想要抓住一个使用JS加载其所有内容的网站的本地副本,当我可以看到正在生成的子请求时,我不想花费时间挖掘他们的JS代码。

推荐答案

Firebug 应该在网络面板中显示。

Firebug should show it in the Net panel.

编辑:另外,如果Firebug以如下方式减慢Firefox的速度:使其无法使用,像有时对我来说, WireShark (以前称为Ethereal)将分析系统上的所有网络流量,包括uding HTTP和AJAX请求。

EDIT: Also, if Firebug slows down your Firefox in a way that makes it unusable, like it does for me sometimes, WireShark (formerly Ethereal) will analyze all network traffic on your system, including HTTP and AJAX requests.

这篇关于什么是简单的方法来查看AJAX调用的方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆