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?
In reply to to REST or not to REST? by zby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |