API stands for Application Programming Interface.It allows different softwares to talk to eachother.It is used by developers to integrate different services into their product.
API created by server side scripting languages are used by clients to interact with webserver.
For instance lets consider a MERN stack web app in which API is created by node js which is connected with mongo database.The created API is used by REACT, which is a front end javascript library.Here front end interact with webserver using API
EXAMPLES OF API
- Booking movie tickets
- Acessing weather info
- Travel bookings
DIFFERENT TYPES OF APIs
- REST API
- RPC
- Composite APIs
- Internel APIs
Top comments (0)