[Solved] How can users like and unlike each others post using sequelize postgres nodejs?


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

solved How can users like and unlike each others post using sequelize postgres nodejs?