CrossDomainDemo provides example code for performing a simple cross domain POST from an html website to an ASP.NET Web API on a different domain using a jQuery Ajax method. This GitHub project contains Microsoft Visual Studio 2012 solution which contains the following web projects:
- SimpleWebApp - The html web client from which the POST is executed.
- WebAPIApp - The application containing the Web API Controller which is called to process the form data posted from the client html site.
For detailed information, see my blog post: Executing Cross Domain POST Using jQuery and ASP.NET Web API