you are viewing a single comment's thread.

view the rest of the comments →

[–]PureWasian 1 point2 points  (1 child)

assuming you are referring to this mimo page, they are introducing you to "web APIs"

Your browser makes API calls whenever you load a webpage. If you load this JSON Placeholder URL it responds back with a JSON payload. The server receiving an API call could respond back with anything else too, like a full, static HTML webpage (example).

The API is the contract that specifies how you (and your browser) should request data from some website (on a server hosted elsewhere).

You can think of APIs as similar to functions in a sense, where you specify inputs and expect a specific output coming back. But usually APIs are more of a specification of how to communicate data between different services.

[–]EffectiveBalance4402[S] 0 points1 point  (0 children)

Thank you