MODX 3 - RESTful API

Опубликовано: 09 Январь 2023
на канале: halftrainedharry
639
16

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/extendin...
"Loading MODX Externally": https://docs.modx.com/3.x/en/extendin...

Code: https://github.com/halftrainedharry/S...