$.ajax({
type: "POST",
url: "Serv/SimpleData",
contentType: "application/json", //必须有
dataType: "json", //表示返回值类型,不必须
data: JSON.stringify({ "foo": "foovalue" }),
success: function (jsonResult) {
}
});
后台@RequestBody