I can second your question. When you build an app with a dynamic frontent (i.e. javascript) and a "database" (I don't care what model) driven backend, then you need a way to pass data and commands (e.g. JSON) between the two.
Thus you end up with pages that handle requests and return data in a structured presentation-agnostic fashion. Isn't that already an API?
Thus you end up with pages that handle requests and return data in a structured presentation-agnostic fashion. Isn't that already an API?