has api code example
Example 1: what is api
API (Application Programming Interface) helps in communication
and data exchange between two software systems. It is the channel which
connects two software systems communicate with one another.
An API forms the middle layer of a three-layered application pyramid,
consisting of a data layer, a server layer and a presentation layer.
While the data layer is concerned with data storage and the presentation
layers are concerned with the user interface, the server layer is composed
of business logic that defines the way for users to interact with various
functions, features, and information.
RESTful API ==> plain text, html, xml, json
SOAP ==> more secure, works with only xml
Example 2: what is api
API : Application Programming Interface
An api is a particular set of rules and specifications that programs can
follow to communicate with each other .
The end user sends request , API executes instructions then get the data
from the server and responds to the user.