28 ms·
This is a good analogy but the description is really one of a REST API. An API in general can take a form other than one or more endpoints. An API is a means of
by gatherhunterer 7y ago
This is a good analogy but the description is really one of a REST API. An API in general can take a form other than one or more endpoints. An API is a means of consuming a program that is not a GUI or CLI but that needs to be accessed through code. Basic front-end development is wrapping code that consumes an API in a GUI. There are dozens of Javascript APIs built into browsers for code that runs locally.
https://developer.mozilla.org/en-US/docs/Web/API https://developer.mozilla.org/en-US/docs/Web/API