When you call RedirectToAction within a controller, it automatically redirects using an HTTP GET. How How do I explicitly tell it to use an HTTP POST?
I have an action that accepts both GET and POST requests, and I want to be able to RedirectToAction using a POST POST and send it some values.
Like this:
this.RedirectToAction( "actionname", new RouteValueDictionary(new { someValue = 2, anotherValue = "text" }) ); I want the someValue and anotherValue values to be sent using an HTTP POST instead of a GET. Does anyone know how to do this?