Change post to use params. And server to use req.query

Research using data on post and req.body on express post handler