title: How To Return Web API Data
body: <p>I've created an ASP.NET Web API.  It seems to be working because I can enter the path into a browser and it displays data from my database tables in what looks like XML format.  When I write a jQuery or AngularJS call to GET the data in my MVC website I get errors.  After much travail I have discovered that (i think) jQuery or AngularJS want JSON objects, but the Web API must be returning XML objects.  I say this because I finally get a success when I call jQuery $.ajax with a dataType: 'xml'.  In my Web API I am returning List of my data objects.  What is the best or normal way to structure this so that the data matches correctly back to the client AJAX calls?</p>