Nevermind, sometimes these small little things are huge annoyances. There are two HttpPost attribute/decorations. One from system.web.mvc and another from system.web.http. After updating it to the following it works fine or better yet change out the reference and remove the System.Web.Mvc.
Post to a WebApi controller
How do you post to a locally declared web api controller? I can't figure it out.
None of those attributes work, and only GET will function. Is there some kind of special routing that needs to be setup?
Have you registered your routes within your global.asax.cs? For example:
Global.asax
Global.asax.cs
Do t hey have to be registered only for the POST? The GET works fine.
I guess if the GET works fine then you shouldn't have to. How are you sending your POST request? Do you receive an error when sending a POST request?
Nevermind, sometimes these small little things are huge annoyances. There are two HttpPost attribute/decorations. One from system.web.mvc and another from system.web.http. After updating it to the following it works fine or better yet change out the reference and remove the System.Web.Mvc.
is working on a reply...