How is an API different from a web application? code example
Example: what is web api
// The ASP.NET Web API is an extensible framework for building HTTP based services.
// It works more or less the same way as ASP.NET MVC web application except that it sends data as a response instead of html view.