DEV Community

spencer-w-mathews
spencer-w-mathews

Posted on

What is an API?

An API (Application Programming Interface) is the mechanism used to allow the client and server to communicate. The API takes the clients request brings it to the server receives the data from the server and returns it to the client in a way they can read.

Real life example:

If you are the client when you walk into a bank then the teller who takes your request and returns you money or information is the API. The API allows the user to communicate with the banks data.

Top comments (0)