What is the best way to override all GET requests in .NET MVC and pipe them to a single controller's action?
I want only POST requests to go through the standard pipeline, e.g.
GET /Eating/Apples -> /GlobalProcessor/Index
POST /Eating/Apples -> /Eating/Apples
If .NET filters are your answer, then how would I accomplish that without using RedirectToAction(), as I need to maintain the URL structure. Meaning,
GET /Eating/Apples
Would be processed by /GlobalProcessor/Index but appear to the client as /Eating/Apples
And if you are wondering why -- it is for a dynamic AJAX processing backend that I'm implementing.