I have a code like this (pic 1). I want to get user data. But the problem is that I don't get anything in req.body (undefined), although in req.params I get what I need. Who can suggest what to do?
console.log(req);
if (req.body.password) {
  req.body.password = CryptoJS.AES.encrypt(
    req.body.password,
    process.env.PASS_SEC
  ).toString();
}
try {
  const updatedUser = await User.findByIdAndUpdate(
    req.params.id,
    {
      $set: req.body,
    },
    { new: true }
  );
  res.status(200).json(updatedUser);
} catch (err) {
  res.status(500).json(err);
}
})```
**Here is my request in Insomnia: **
https://imgur.com/a/JiCXaDe
 
    