Skip to content

Commit

Permalink
Merge pull request typhoeus#422 from antstorm/update-quick-requests
Browse files Browse the repository at this point in the history
Include .patch and .options in the list of quick requests.
  • Loading branch information
hanshasselberg committed Dec 15, 2014
2 parents 5f1dd74 + edeaf71 commit 1b9fff3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ Typhoeus has some convenience methods for performing single HTTP requests. The a
Typhoeus.get("www.example.com")
Typhoeus.head("www.example.com")
Typhoeus.put("www.example.com/posts/1", body: "whoo, a body")
Typhoeus.patch("www.example.com/posts/1", body: "a new body")
Typhoeus.post("www.example.com/posts", body: { title: "test post", content: "this is my test"})
Typhoeus.delete("www.example.com/posts/1")
Typhoeus.options("www.example.com")
```

### Handling HTTP errors
Expand Down

0 comments on commit 1b9fff3

Please sign in to comment.