ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

JusticeTech System 〽️

JusticeTech System 〽️

Открыть в Telegram

Learn to learn before you teach

Больше
Страна не указанаКатегория не указана
233
Подписчики
+124 часа
-27 дней
-130 дней
Архив постов
Final Summary An API is a bridge that allows different software applications to communicate safely and efficiently. Without APIs, modern apps would not be able to share data, authenticate users, process payments, display maps, or provide many of the online services we use every day.
31 июля, 10:36

5. Body The body contains the main information being sent. For example, when creating an account: Name Email Password These details are sent in the request body.
31 июля, 09:01

4. Headers Headers contain extra information. Examples: Authentication token Language preference Content type Think of headers as an ID card that identifies who is making the request.
31 июля, 09:00

3. Parameters Parameters allow us to request specific information. Example: https://justicetech.space?city=Lagos Here: Parameter = city Value = Lagos
31 июля, 08:59

2. URL or Base Url A URL tells the browser or app where to find a resource. Example: https://api.justicetech.space/users
31 июля, 08:58

Just as every house has an address, every API has an endpoint.
31 июля, 08:57

1. Endpoint An endpoint is the address where an API can be reached. Example: https://api.justicetech.space/current
31 июля, 08:57

There are 5 components that made up an api
31 июля, 08:55

COMPONENTS OF AN API.....
31 июля, 08:54

I hope you are all following
31 июля, 08:52

Another Example: WhatsApp You type: Hello Your phone sends the message to the WhatsApp server through its API. The server stores it and delivers it to your friend's phone. All this usually happens in less than a second.
31 июля, 08:51

Client (Phone/App) ▼ Request ▼ API ▼ Server ▼ Response ▼ Client Displays Result
31 июля, 08:50

Process 5: The Client Displays the Result Finally, your app displays the information.
31 июля, 08:48

Process 4: The Server Sends a Response The server sends the requested data back through the API. Examples: Video data Weather information Bank balance
31 июля, 08:47

Process 3: The Server Processes the Request The server stores data such as: Videos Photos User accounts Messages The server searches for the requested information.
31 июля, 08:46

Process 2: The API Receives the Request The API receives the request and checks if it is valid. For example: Does the video exist? Is the user allowed to watch it? Is the request correctly formatted?
31 июля, 08:45

Process 1: The Client Sends a Request The client is the application asking for information e.g Your browser, WhatsApp, weather app etc Example: You open YouTube and click a video. Your phone sends a request: "Please play this video."
31 июля, 08:42

Every API communication follows 5 simple process.
31 июля, 08:38

HOW DOES API WORKS?
31 июля, 08:38

In the above example: You = Client (your app) Waiter = API Chef/Kitchen = Server Food = Requested information The waiter ensures everything is delivered correctly, just as an API does.
31 июля, 08:35