Validate your incoming request using ajv.
NPM package where you'll find all of the available algorithms. Still in Progress.