Q. What Is An API?
Q. What Is An API?
Q. What is an API?
APIs are mechanism which enables two different software component’s to communicate with each
other. For an example: - If the weather bureau’s software updates the weather status then the
weather app talks to the weather bureau’s system through API.
Here API stands for Application Programming Interface and by application we mean any software
with a distinct function. Interface can be thought of as the contract of service between the two
software/applications. This contract defines how the two applications communicate using requests
and responses.
API documentations contain the information on how to structure those responses and requests
We will dig deeper into WebSocket and REST APIs later on.