Skip to content

Commit

Permalink
Minor adjustment to make sure POST example is consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
kilahm committed Sep 15, 2015
1 parent bc80c49 commit 1caf25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ request
fromSend: 'Bar'
})
.end(function(err, data) {
console.log(data); // { id: 5, content: 'Hello world', fromPost: 'Foo', fromSend: 'Bar' }
console.log(data); // { id: 5, body: { content: 'Hello world', fromPost: 'Foo', fromSend: 'Bar' } }
})
;
```
Expand Down

0 comments on commit 1caf25f

Please sign in to comment.