changed sample app to follow new method for retrieving request params, refs #281