koa-rest-api-boilerplate icon indicating copy to clipboard operation
koa-rest-api-boilerplate copied to clipboard

Enhance HTTP request data validation

Open posquit0 opened this issue 6 years ago • 0 comments
trafficstars

Problem

  • controller should validate the request body, param, query, header, cookie before processing the business logic.
  • Validation should check the data type, format, ranges and more.

Solutions

Design

posquit0 avatar Jul 08 '19 16:07 posquit0