请教 如何获取 Post 提交的 数据呢?

chkmouse 2012-01-14 07:41:11
比如:

现在这个发帖的页面,当我点击“发表帖子”的按钮时就通过Post方式向CSDN的服务器发送了一些数据,
可我该如何获取到这些数据呢?

麻烦经验丰富的人提供一个比较方便的方法或工具,或通过代码来监听,谢谢
...全文
322 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
ctdiskdownload 2012-01-19
  • 打赏
  • 举报
回复
火狐的livehttpheader
听雪江湖 2012-01-17
  • 打赏
  • 举报
回复
1,Request.Form[传的变量名]
2,Request.QueryString[传的变量名]
joyhen 2012-01-17
  • 打赏
  • 举报
回复
request.Form["params"],你懂的
yangchenhuahua 2012-01-17
  • 打赏
  • 举报
回复
直接用ajax提交form数据。 然后HttpContext.Current.Request["name"]这样取数据;
蝶恋花雨 2012-01-15
  • 打赏
  • 举报
回复
httpwatch7.0.23 HTTPAnalyzerFullV6 两个来监听
chkmouse 2012-01-15
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 ximenwuji 的回复:]

querystring["id" or "name"].tosting()
[/Quote]

请问代码是从哪里来的呢?
我是客户端,不是服务器!!!
ycproc 2012-01-14
  • 打赏
  • 举报
回复
Request.QueryString["xxx"]
JL2011_02 2012-01-14
  • 打赏
  • 举报
回复
如果是以 ajax 方式提交的,可以试试 FF 的 Firebug。
chen_ya_ping 2012-01-14
  • 打赏
  • 举报
回复
request["name"]
donemars 2012-01-14
  • 打赏
  • 举报
回复
一般情况直接通过Request.Form["XXXX"]获取信息。或者可以jQuery的方式通过JSON来传输数据,实现回贴的异步刷新。
vinoYang 2012-01-14
  • 打赏
  • 举报
回复
查看的话,可以用http watch,获取的话用request对象request.Form[]或request[]
ximenwuji 2012-01-14
  • 打赏
  • 举报
回复
querystring["id" or "name"].tosting()
宝_爸 2012-01-14
  • 打赏
  • 举报
回复
Fiddler2
http://www.fiddler2.com/fiddler2/



What is Fiddler?
Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.

Fiddler is freeware and can debug traffic from virtually any application that supports a proxy, including Internet Explorer, Google Chrome, Apple Safari, Mozilla Firefox, Opera, and thousands more. You can also debug traffic from popular devices like Windows Phone, iPod/iPad, and others.

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧