zby has asked for the wisdom of the Perl Monks concerning the following question:
or similar.# POST /foo -> create new record # GET /foo -> list all records # PUT /foo/by_id/<pk> -> update record # DELETE /foo/by_id/<pk> -> delete record # GET /foo/by_id/<pk> -> view record # GET /foo/by_id/<pk>/edit_form -> edit record form # GET /foo/create_form -> create record form
Do you thing REST is worth those complications? Or maybe I should generate two applications: one RESTful and another one more traditional (in two additional subdirs)? Or maybe you have some other ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: to REST or not to REST?
by locked_user sundialsvc4 (Abbot) on Mar 06, 2009 at 17:14 UTC | |
|
Re: to REST or not to REST?
by bellaire (Hermit) on Mar 06, 2009 at 12:21 UTC | |
by zby (Vicar) on Mar 06, 2009 at 12:49 UTC |