# What is REST APIs in simple terms

Being a developer all of us has come across a term known as rest API, in this blog, I will try to explain it as simple as possible using images that I have created

Let's take an example of a toy shop that wants to expose the API to toy giants 
like Hamleys, so that Hamleys can also list the toys.

![Copy of Copy of Top 5 Resouces  (2).jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1642255858334/6o_UnNwh1.jpeg)

There are multiple API protocols and REST is the most popular one

![Copy of Copy of Top 5 Resouces  (3).jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1642255905045/KPSCJtRQQ.jpeg)

**How do REST API works?**
![Copy of Copy of Top 5 Resouces  (4).jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1642255998800/btSKg4XCk.jpeg)

**How does an endpoint look like?**

![Copy of Copy of Top 5 Resouces  (5).jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1642256068686/wy-4QIjTd.jpeg)




I hope you like the post, please share and react 

Also, you can find me on Twitter where I post more such content on a regular basis

%[https://twitter.com/chopcoding/status/1482237272988602372]

