refactor(rest) onPut: pParams -> params