Skip to content

Commit 84364e4

Browse files
committed
Merge pull request #7 from TooTallNate/update/readme
README: show superagent-oauth requireage
2 parents 1056faf + 2c25dff commit 84364e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ to leverage the API flexibility of superagent instead of the
1212

1313
```js
1414
var oauth = new OAuth(…)
15-
, request = require('superagent')
15+
, request = require('superagent');
16+
17+
require('superagent-oauth')(request);
1618

1719
// once you get the access token and secret
1820
request.post('http://api.resource.org/users')

0 commit comments

Comments
 (0)