I am using jQuery to post some data to an asp.net mvc site. The post takes place successfully and the target controller action is hit when I debug it in Visual Studio, however it seems that the data I am passing is not getting carried over. I can't see it either in Request.Params or Request.Headers My post is as follows:
$.ajax({
url: "http://localhost/PlatformPortal/Buyers/Account/SignIn",
headers: {signature: authHeader},
type: "POST",
// tried this data: authHeader
success: function() { alert('Success!'); }
});
Am I missing something here ?