Validating req.params with express validator [on hold]


If you use check (& ​​# 39; & # 39;) points to req.body, how can we validate req.params? I am trying to make sure that the ID entered in the url is valid.