Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mcameron committed Feb 16, 2014
1 parent e24f086 commit a0228f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -206,6 +206,12 @@ rest.postJson('http://example.com/action', jsonData).on('complete', function(dat
// handle response
});

// put JSON
var jsonData = { id: 334 };
rest.putJson('http://example.com/action', jsonData).on('complete', function(data, response) {
// handle response
});

```

TODO
Expand Down

0 comments on commit a0228f1

Please sign in to comment.