我正在使用jQuery将一些数据发布到asp.net mvc网站。在Visual Studio中调试它时,该帖子发生成功,并且目标控制器操作被击中,但似乎我传递的数据没有得到结转。我看不出它无论是在Request.Params或Request.Headers我的职位是如下:jQuery AJAX服务器上无法访问的POST变量
$.ajax({
url: "http://localhost/PlatformPortal/Buyers/Account/SignIn",
headers: {signature: authHeader},
type: "POST",
// tried this data: authHeader
success: function() { alert('Success!'); }
});
我在这里失去了一些东西?
什么是'authHeader'? – 2010-07-15 00:24:23