[ad_1]
client.post(/posts/${like.PostId}/likes, { userId: like.userId, PostId:like.PostId })
using this in frontend, i was able to access the req.body in backend, thank you @Anatoly
[ad_2]
solved How can users like and unlike each others post using sequelize postgres nodejs?