For exception handling purposes I would like to know if an ajax request was made with POST or GET, but can’t find out how to do it.
I got this far:
var request = filterContext.RequestContext.HttpContext.Request.GetType();
Am I on the right track at all?
Take a look at
RequestTypeproperty to determine whether it was a GET or a POST.Request.RequestType