VisualStudioFeeds

All Visual Studio blogs in one place

AddThis Social Bookmark Button
A few weeks backs I posted a blog post  about what does and doesn't work with ASP.NET Web API when it comes to POSTing data to a Web API controller. One of the features that doesn't work out of the box - somewhat unexpectedly -  is the ability to map POST form variables to simple parameters of a Web API method. For example imagine you have this form and you want to post this data to a Web API end point like this via AJAX:
Name:
type="name" name="name" value="Rick" /> Value: Entered:

Increase your website traffic with Attracta.com

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Home : Blog List : Rick Strahl's Web Log : Passing multiple simple POST Values to ASP.NET Web API