Application programming interface
/ एप्लिकेशन प्रोग्रामिंग इंटरफेस /Basic
Meaning in this fieldAPI lets two software systems communicate.
Effect at a glance
It makes sharing data and functions easy.
- Client sends request to API endpoint.
- Server processes the request.
- Server sends back response.
Literal meaning
Application Programming Interface
Usage
APIs are used in web apps to fetch data from backend.
Example
fetch('/api/users') returns a user list.
Caution: Do not leave API open without auth.