# nothing in setup() sub get_widget : REST( GET => widgets, TYPES => [ 'application/xhtml+xml', 'text/html', 'text/plain' ], PARAMS => [ 'product_number' ] ) { # implementation }