MODX 3 - RESTful API

MODX 3 - RESTful API

halftrainedharry

55 лет назад

664 Просмотров

Creating a rest API with MODX 3 and Alpine.js.

0:00 Creating a custom database table
1:25 Creating a rest API endpoint
5:53 GET parameters
7:57 POST, GET and DELETE with Postman
11:24 Protecting the endpoint
16:20 Adding and editing items with Alpine.js and the Fetch API

MODX CMS: https://modx.com/

MODX documentation
- "Developing RESTful APIs": https://docs.modx.com/3.x/en/extending-modx/developing-restful-api
- "Loading MODX Externally": https://docs.modx.com/3.x/en/extending-modx/modx-class/loading-externally

Code: https://github.com/halftrainedharry/SimpleExtra/tree/main/rest
Ссылки и html тэги не поддерживаются


Комментарии: