Permalink
Browse files

create README

  • Loading branch information...
1 parent 9ffad0e commit 424eff185714c40560aae70c7d2195c85d65a1a1 @mislav committed Jun 19, 2008
Showing with 17 additions and 0 deletions.
  1. +17 −0 README.markdown
View
@@ -0,0 +1,17 @@
+Curly
+-----
+
+Curly is a wrapper for `Curl::Easy` from [Curb gem](http://curb.rubyforge.org/ "Curb - libcurl bindings for ruby"). It makes HTTP GET and POST even easier than `Curl::Easy`.
+
+Examples
+========
+
+ # get a web page parsed with Hpricot
+ Curly.get_document('http://www.google.com')
+ # -> Hpricot::Doc instance
+
+ # POST params as hash
+ Curly.post('http://example.com/signup',
+ :name => 'Mislav',
+ :email => 'mislav.marohnic@gmail.com'
+ )

0 comments on commit 424eff1

Please sign in to comment.