May 10, 2012, 8:05 PM
[CLOSED] MVC Force Post
When Setting up a proxy, how do I force the Ajax to POST and not GET?
Example:
Example:
.Proxy(Sub(proxy)
proxy.Add(Html.X.AjaxProxy().Url(Url.Content("~/Assignments") + "/_GetTeams/" + MvcApplication.CurrentApplicationUser.EmployeeID.ToString()) _
.Reader(Sub(rdr)
rdr.Add(Html.X.JsonReader().Root("Data"))
End Sub) _
.Writer(Sub(wrtr)
wrtr.Add(Html.X.JsonWriter().Root("Data"))
End Sub))
End Sub) _
Last edited by Daniil; May 18, 2012 at 4:55 PM.
Reason: [CLOSED]