如何在ASP.NET中处理HTTP POST [英] How to handle an HTTP POST in ASP.NET

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

问题描述

我正在尝试创建一个ASP.NET页面,该页面将响应来自Amazon的IPN.我将获取这些信息并使用它更新我的数据库.我不确定如何在这样的页面上入门.

谢谢.

I am attempting to create an ASP.NET page that would respond to IPN from Amazon. I would take that information and update my database with it. I am not sure how to get started on such a page.

Thanks.

推荐答案



发布信息通常是通过查询字符串完成的.您可以使用request.querystring("Key")从查询字符串中收集IPN详细信息.

这里有一个很好的例子:
http://dotnet.dzone.com/news/amazon-simple-pay-aspnet [ ^ ]
Hi,

The post information is generally done via the query string. You would gather the IPN details from the query string using request.querystring("Key").

There is a great example here:
http://dotnet.dzone.com/news/amazon-simple-pay-aspnet[^]


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

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