Give me only 4.19 minutes I'll teach you what APIs are: Imagine...

@ainasanghi
Aina Sanghi@ainasanghi
27 views Feb 14, 2024 ~1 min read
Advertisement
1
Give me only 4.19 minutes
I'll teach you what APIs are:

Imagine you're at home, craving a pizza from Dominos, but you can't go there yourself.

So, you call them up and tell them exactly what you want:
a large pepperoni pizza with extra cheese.

That call you make is like sending a request through an API.

Now, the person who takes your order (the API) doesn't make the pizza themselves.
Instead, they relay your order to the kitchen (the server) where the chefs (the backend) are working.

These chefs know how to make the pizza you requested because they understand the language (protocol) you used to place the order.

Once the pizza is ready, it's not magically teleported to your house.

Instead, the person who took your order goes to the kitchen, picks up your pizza, and brings it back to you. Similarly, the API takes the data (pizza) from the server and delivers it to you, the requester.

So, in a nutshell, APIs act as messengers between different software systems, helping them talk to each other and share information, just like how the person taking your pizza order acts as a messenger between you and the kitchen.

See wasn't that easy?
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement