CatalystX-ExtJS-REST
view release on metacpan or search on metacpan
lib/CatalystX/Controller/ExtJS/REST.pm view on Meta::CPAN
---
load_config_file: root/forms/user.yml
constraints:
- type: Required
name: username
- type: Required
name: password
Now you can fire up your Catalyst app and you should see two new chained actions:
Loaded Chained actions:
...
| /users/... | /user/list
| /user/... | /user/object
=head2 Accessing objects
To access an object, simply request the controller's url with the desired method.
A C<POST> request to C</user> will create a new user object. The response will include
the id of the new object. You can get the object by requesting C</user/$id> via GET
or remove it by using the C<DELETE> method.
( run in 0.484 second using v1.01-cache-2.11-cpan-71847e10f99 )