Skip to content

Commit

Permalink
add note about JSON output body type
Browse files Browse the repository at this point in the history
  • Loading branch information
iansltx committed Dec 23, 2013
1 parent 02bef8f commit 9d73e5a
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 @@ -234,7 +234,7 @@ The callback argument gets 3 arguments:
1. An `error` when applicable (usually from [`http.ClientRequest`](http://nodejs.org/api/http.html#http_class_http_clientrequest) object)
2. An [`http.IncomingMessage`](http://nodejs.org/api/http.html#http_http_incomingmessage) object
3. The third is the `response` body (`String` or `Buffer`)
3. The third is the `response` body (`String` or `Buffer`, or JSON object if the `json` option is supplied)
## Convenience methods
Expand Down

0 comments on commit 9d73e5a

Please sign in to comment.