learn hapi — Always Throw and Handle API Validation Errors
Request validation in hapi is a powerful feature and allows you to define fine-grained validation rules. In the previous tutorial, you put validation rules in place for the API TV show endpoint which returns a list of shows. Failed validations for the page and extend query parameters are handled by …
Continue Reading