0% found this document useful (0 votes)
13 views

Q. What Is An API?

Uploaded by

Ramji Tripathy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Q. What Is An API?

Uploaded by

Ramji Tripathy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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

Q. What are the types of APIs and how they work?


The different types of APIs are: -

1. SOAP – Simple Object Access Protocol


2. RPC – Remote Procedure Calls
3. WebSocket APIs
4. REST APIs – Representational State Transfer

We will dig deeper into WebSocket and REST APIs later on.

You might also like