如何在Chrome中调试HTTP POST? [英] How can I debug a HTTP POST in Chrome?

查看:170
本文介绍了如何在Chrome中调试HTTP POST?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想查看在Chrome中发送的HTTP POST数据。

I would like to view the HTTP POST data that was sent in Chrome.

数据现在在内存中,我可以重新提交表单。

The data is in memory now, and I have the ability to resubmit the form.

我知道如果我重新提交服务器会抛出错误,是否还可以查看Chrome内存中的数据?

I know that if I resubmit the server will throw an error, Is there anyway I can view the data that is in Chrome's memory?

我在OSX上使用最新的Mt Lion和Chrome构建

I'm on OSX with the latest Mt Lion and Chrome build

推荐答案

转到Chrome开发人员工具(Chrome菜单 - >更多工具 - >开发工具)。选择网络选项卡。刷新您所在的页面。当网络控制台打开时,您将获得发生的http查询列表。在左侧选择其中一个。选择标题标签。 Voila!

Go to Chrome Developer Tools (Chrome Menu -> More Tools -> Developer Tools). Choose "Network" tab. Refresh the page you're on. You'll get list of http queries that happened, while the network console was on. Select one of them in the left. Choose "Headers" tab. Voila!

这篇关于如何在Chrome中调试HTTP POST?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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