summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Davis <thomasalwyndavis@gmail.com>2012-10-24 14:17:12 +0000
committerThomas Davis <thomasalwyndavis@gmail.com>2012-10-24 14:17:12 +0000
commit8137230ae5f3e09c16c7ff3735d8d37d8a7ea3f9 (patch)
treef850f1d62c2df48504a533b89838fa2ffaaba7b4
parent847554c32559dc125f94ad816a8286a1c95e3ae4 (diff)
downloadbackbonetutorials-8137230ae5f3e09c16c7ff3735d8d37d8a7ea3f9.zip
backbonetutorials-8137230ae5f3e09c16c7ff3735d8d37d8a7ea3f9.tar.gz
backbonetutorials-8137230ae5f3e09c16c7ff3735d8d37d8a7ea3f9.tar.bz2
new readme
-rw-r--r--videos/beginner/README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/videos/beginner/README.md b/videos/beginner/README.md
index 49ece2e..f55d42c 100644
--- a/videos/beginner/README.md
+++ b/videos/beginner/README.md
@@ -6,16 +6,16 @@ The server code base can be found [here](https://github.com/thomasdavis/video-ba
The example runs against this server which exposes the API shown below
-```
-// Used for populating our users collection
+Used for populating our users collection
+
GET /users - Returns an array of user objects e.g. `[{firstname: 'Thomas', lastname: 'Davis', age: 12}]`
-// Used for populating our user model
-GET /users/:id - Returns a single user object e.g. `{id: 'xxxx', firstname: 'Thomas', lastname: 'Davis', age: 12}`
-POST /users - Creates a user based off the payload and returns the new user object e.g. `{id: 'xxxx', firstname: 'Thomas', lastname: 'Davis', age: 12}`
-PUT /users/:id - Updates the given user with the given payload and returns the newly updated user object
-DELETE /users/:id - Deletes the given used from the server
-```
+Used for populating our user model
+
+GET /users/:id - _Returns a single user object e.g. `{id: 'xxxx', firstname: 'Thomas', lastname: 'Davis', age: 12}`_
+POST /users - _Creates a user based off the payload and returns the new user object e.g. `{id: 'xxxx', firstname: 'Thomas', lastname: 'Davis', age: 12}`_
+PUT /users/:id - _Updates the given user with the given payload and returns the newly updated user object_
+DELETE /users/:id - _Deletes the given used from the server_
## Extra Snippets