关于$.post参数url问题,请求大神帮助。
已知$.post (url, data ,function(xx)),
我用 $.post('Bll/Manager/Login.do', postData, function (result) {……} 发送post请求,然后在C#项目.Bll.Manager中的Login函数接收 代码如下
public string Login(HttpContext ctx)
{
string EmpId = ctx.Request["manager"];
string Password = ctx.Request["password"];
……
……
}
但是浏览器调试提示我post请求 404 not found 。
我URL 该如何写, 函数才能接收到 post的数据? 请指教!