what is the api ? code example

Example 1: what is an api

An application program interface (API) is a set of routines, protocols, and
tools for building software applications.

Basically, an API specifies how software components should interact.
Additionally, APIs are used when programming graphical user interface (GUI)
components.

A good API makes it easier to develop a program by providing all the
building blocks. A programmer then puts the blocks together.

Example 2: api

Application programming interface

Example 3: 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.

Tags:

Misc Example