メインコンテンツへ移動
0

このレッスンは、現在英語のみです。

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.