Skip to content
Browse files

Doc fixes.

  • Loading branch information...
1 parent 7c2899a commit f535fe1008c8f11bb37e16f95fe287ed93343704 @mikeal mikeal committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
10 README.md
@@ -100,22 +100,22 @@ As a writable stream it accepts the body of an HTTP request. As a readable strea
# Convenience methods
-## request.defaults(options)
+### request.defaults(options)
This method returns a wrapper around the normal request API that defaults to whatever options you pass in to it.
-## request.put
+### request.put
Same as request() but defaults to `method: "PUT"`.
-## request.post
+### request.post
Same as request() but defaults to `method: "POST"`.
-## request.head
+### request.head
Same as request() but defaults to `method: "HEAD"`.
-## request.get
+### request.get
Alias to normal request method for uniformity.

0 comments on commit f535fe1

Please sign in to comment.
Something went wrong with that request. Please try again.