How to reject all invalid request query params using checkSchema from express-validator?

前端 未结 0 666
后悔当初
后悔当初 2021-01-07 06:45

Assume my API accepts only 1 request query param \'qp1\'.

So, HTTP GET requests to the below URIs,

  1. /v1/get-feed?qp1=50 - should work fine

相关标签:
回答
  • 消灭零回复
提交回复
热议问题