Aller au contenu principal
0

Cette leçon est en anglais pour le moment.

Data instead of pages

A mobile app, a JavaScript front end or another server does not want HTML. It wants data in a format every language can read: JSON. A PHP API takes a request, does the work and answers with JSON plus a status code that says how it went.