DEV Community

Md Yasin Miah
Md Yasin Miah

Posted on

2

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

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay