DEV Community

Md Yasin Miah
Md Yasin Miah

Posted on

What is API

About API

API stands for “Application Programming Interface”. It is a set of functions. It allows applications to access data and interact with external software components, operating systems, or microservices.
To simplify, an API brings the user's response to the system and brings the system’s response to the user. When we click “commend” an API tells the site we commend on that post; the website puts the commend on the post, and our commend box is updated with that commend.

We may hear that “microservices” are related to API. These however, are not the same. Microservices divides functionality in a web application where API is the framework to interact with a web application. Microservices can actually use API to communicate between each other.

A developer can make “call” or “request” through API in order to send or get information from the server. For this communication there is a programming language called “JSON”. There is a CRUD operation with API:

POST – Create new data
GET – Read data
PUT – Updates pieces of data
DELETE – Deleting data

Top comments (0)