Validation for Modx Rest API


What is recommended method for handling validation when using the Modx Rest API as shown here

Is it case just writing own custom validation, import some 3rd part library or does Modx have something built in to handle this? Possible to somehow hook into FormIt validation?


you can set the different requiredFields

and you can do additional validation in beforePost or beforePut

Oh excellent will give that a try