- Strapi Version: 3.0.6
- Operating System:
- Node Version:
- NPM Version:
- Yarn Version:
in our scenario a website stores data over a strapi endpoint to a Contenttype via POST request. If there is such an request, surley you know, the create controller is being started. The controller uses the incoming data and sends it further to another plattform. Thats the scenario and it works fine. But:
We would like to validate the incoming strapi data before the request body is stored in our content type in strapi to know whether there are invalid entrys made by user at the website or not. And if yes, which field contains this wrong data.
Our first try implementing the EntityValidator fails (Backend customization - Strapi Developer Documentation). So where is a better documentation for using this validator? And the second question is: What other/are there possibilities to check the validity of the incoming request (body)/strapi data to be stored.
Thanks for your answer.