ParamsController with POST and GET method returning parameter values as response