怎么看都是HTTP GET请求从浏览器发送没有调试工具?都是、怎么看、浏览器、调试工具

2023-09-10 20:08:21 作者:冷月醉夕阳

所以,我有网页做了一些AJAX和JSONP(即注射)来获取数据。我想知道如何找出我所做的请求的URL,而无需使用调试工具,就像萤火虫。等,即在浏览器的GET请求的历史。谢谢

so, I have page doing a number of ajax and jsonp(i.e. injection) to get data. I would like to know how to find out the request URL I have made without using debugging tools, like firebug. etc. i.e. the history of GET request of the browser. Thanks

推荐答案

在大多数情况下,浏览器不记录他们的HTTP GET请求的历史。另外,如果您正在使用AJAX,你可能做的HTTP POST请求为好。

For the most part, browsers do NOT log a history of their HTTP GET requests. Also, if you're using ajax, you're probably doing HTTP POST requests as well.

您不必使用的浏览器工具如Firebug的,但你会需要一些工具来真正得到请求,请求机构的历史。

You don't have to use an in-browser tool like Firebug, but you will need some tool to actually get a history of requests and the request bodies.

您可以像使用 Fiddler2 的一个工具,这是一个代理服务器,获取所有的HTTP流量传出来自您的计算机(包括浏览器和其他应用程序)。

You can use a tool like Fiddler2, which is a proxy that gets all HTTP traffic outgoing from your computer (including from your browser and all other applications).

如果您在服务器环境的控制,还可以设置日志服务器上捕捉到了这个数据。

If you have control of the server environment, you can also set up logging on the server to capture this data.