Using request.body instead of request.query for POST and PUT requests