Skip to content

Commit

Permalink
updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
daschl committed Dec 23, 2011
1 parent fed84c4 commit 0972b67
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions net/http/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,12 @@
* GET /posts or /posts.json => Show a list of available posts
* GET /posts/1234 or /posts/1234.json => Show the post with the ID 1234
* GET /posts/add => Add a new post (maybe a HTML form)
* PUT /posts or /posts.json => Add a new post (has the form data attached)
* POST /posts or /posts.json => Add a new post (has the form data attached)
* GET /posts/1234/edit => Edit the post with the ID 1234 (maybe a HTML form)
* PUT /posts/1234 or /posts/1234.json => Edit the post with the ID 1234 (has the form data attached)
* DELETE /posts/1234 or /posts/1234.json => Deletes the post with the ID 1234
* }}}
*
* If you wonder why there is no POST http method included, here's the reason: in a classical
* RESTful design, POST is used to create a new sub-resource (and this plugin currently does not
* support sub-resources out of the box). If you use the helpers that come with this plugin, you
* should not notice any difference as they handle the http methods for you. Just keep this in mind
* when you test your web services with CURL.
*
*/
class Resource extends \lithium\core\Object {

Expand Down

0 comments on commit 0972b67

Please sign in to comment.