NAME Catalyst::Controller::REST - A RESTful controller SYNOPSIS package Foo::Controller::Bar; use Moose; use namespace::autoclean; BEGIN { extends 'Catalyst::Controller::REST' } sub thing : Local : ActionClass('REST') { } # Answer GET requests to "thing" sub thing_GET { my ( $self, $c ) = @_; # Return a 200 OK, with the data in entity # serialized in the body $self->status_ok( $c, entity => { some
{{#tags}}- {{label}}
{{/tags}}