This video is about What's API Endpoint | API Series
🤔🤗So what is endpoints!???!!
-
🔸Text book said endpoints provide different functionalities within the same interface 🤮
-
🔸Let’s get back to that bank example shall we?
Let’s assume that we want to expand the bank and start selling stocks.
-
🔸In order to do that we would need a stick trader so now we’ve got a teller and a stock trader in the bank that provides different functionality for customers who come in the bank.
-
🔸Yep. Api endpoint refer to a service provider that provides a specific subset of functions within the same interface. In this example stock trader and teller are the endpoints.
-
🔸Aha! Now let’s talk about best practices. Documentations.documentations.documentations are the key. If you want devs not to pull out all of their hairs to figure out what to do 🤭🤔
-
🔸Make sure to make it clear what each endpoint does. You won’t like going to the bank and not knowing who is teller who is stock trader who is the manager of both right ??
-
🔸Making error message as clear as possible. If you can’t deposit this currency at the bank. Would you rather the bank tell you what is wrong or the bank just tell you hey no. And go figure 😦😐
#javascript #frontend #api
Music Credits:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Music by [ Ссылка ]
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Business inquries (contact vicky): contactvickymei@gmail.com
![](https://i.ytimg.com/vi/85AayQQ6WQM/maxresdefault.jpg)