Marcus Pöhls

Marcus is an enthusiastic web developer and creates web applications with hapi and RethinkDB. He’s also a typography and coffee geek :)

hapi — Reply Custom View for Failed Validations

Validations are build into hapi’s core and the framework has first class support for Joi, the schema validation framework. The overall validation setup for individual routes is very convenient and expressive, you’ll see that in a minute. The default behavior for failed validations is to send proper error …

Continue Reading

hapi — Validate Request Headers With Joi

In an advanced development state, you want to make use of request headers and because you don’t blindly trust the incoming values, you also apply validation rules. With hapi, you’ve a framework that has validation built into its core and makes it easy to define rules for request …

Continue Reading
Page 1 of 20

Explore the Library

Find interesting tutorials and solutions for your problems.