Permalink
Browse files

update docs

  • Loading branch information...
1 parent 3ff0c1a commit 83eabaf45ac2a3ce199b1bade03acf5208529047 @micha committed Jul 17, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
@@ -43,9 +43,12 @@ Make some HTTP requests.
$ GET /blogs.json
[ {"id" : 1, "title" : "first post", "body" : "This is the first post"}, ... ]
+
$ PUT /blogs/2.json '{"id" : 2, "title" : "updated post", "body" : "This is the new."}'
{"id" : 2, "title" : "updated post", "body" : "This is the new."}
+
$ DELETE /blogs/2
+
$ POST /blogs.json '{"title" : "new post", "body" : "This is the new new."}'
{"id" : 204, "title" : "new post", "body" : "This is the new new."}

0 comments on commit 83eabaf

Please sign in to comment.