Handle the case where params are in req.body.