diff options
author | Thomas Davis <thomasalwyndavis@gmail.com> | 2012-10-24 14:23:39 +0000 |
---|---|---|
committer | Thomas Davis <thomasalwyndavis@gmail.com> | 2012-10-24 14:23:39 +0000 |
commit | de4e9c7888a9b8b84d683418431a4737c1b062c6 (patch) | |
tree | 2a2b31512f6fd86da692a827b6643379d4fa10d9 | |
parent | ebb198e943bbf8b61a65cc5a910d59cb6050cbe4 (diff) | |
download | backbonetutorials-de4e9c7888a9b8b84d683418431a4737c1b062c6.zip backbonetutorials-de4e9c7888a9b8b84d683418431a4737c1b062c6.tar.gz backbonetutorials-de4e9c7888a9b8b84d683418431a4737c1b062c6.tar.bz2 |
AS
-rw-r--r-- | videos/beginner/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/videos/beginner/README.md b/videos/beginner/README.md index 0c22997..c483aaf 100644 --- a/videos/beginner/README.md +++ b/videos/beginner/README.md @@ -8,17 +8,17 @@ The example runs against this server which exposes the API shown below Used for populating our users collection -**GET** /users - __Returns an array of user objects e.g. `[{firstname: 'Thomas', lastname: 'Davis', age: 12}]`__ +**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}`__ +**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}`__ +**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__ +**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__ +**DELETE** /users/:id - _Deletes the given used from the server_ ## Extra Snippets |