Web API
Domain: Internet & Web
π― Motivation
An API accessed over HTTP. The most common way for applications to communicate on the internet.
π Concrete Example
Web API: your app calls βGET https://api.weather.com/today?city=HongKongβ. Returns JSON: {temp: 28, condition: sunny}. Your app uses this data to show weather. APIs connect applications.
π Analogy
A web API is like a restaurantβs takeout window - you (application) ask for food (data) through the window (API). The kitchen (server) prepares it and hands it out. You do not need to go inside.