Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 1
    Thanks for the answer, but it is still giving me the same error. Commented Jul 10, 2012 at 7:11
  • That's not possible, then something else must be misconfigured in your app. Can you show the entire Route setup? Also how exactly are you calling the controllers actions? Commented Jul 10, 2012 at 7:22
  • The entire Route setup is in global.asax, I have post that part in my question, For making request, I am using Fiddler->Compose-> and selecting Post as the operation Commented Jul 10, 2012 at 7:30
  • try removing all other routes definition and just leave the one I posted. Then you can easily call both of the POST actions located within one controller (same as old MVC approach) Commented Jul 10, 2012 at 7:35
  • 1
    Filip, I am using .Net framework 4.5, with mvc4 or Visual studio 2012 RC, Which template are you using to create your project, yours' is working perfectly Commented Jul 10, 2012 at 9:38