1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
🎉 Makes http fun again!
Find a file
Don Petersen 5704725703 Made the HTTParty::Response a child of Jim Weirich's BlankSlate. Some
method calls that you could reasonably want to make against the actual
response are not making it to method_missing.

Signed-off-by: John Nunemaker <nunemaker@gmail.com>
2009-01-29 17:12:01 +08:00
bin Fixed support for specifying headers from CLI. 2009-01-28 14:51:32 -05:00
examples Also passing block to response method missing so iteration and such work. 2009-01-28 16:15:06 -05:00
lib Made the HTTParty::Response a child of Jim Weirich's BlankSlate. Some 2009-01-29 17:12:01 +08:00
spec Added first class response object that includes original body and status code. 2009-01-28 14:46:15 -05:00
website Updated readme and website. 2008-12-23 11:43:59 -05:00
.gitignore Ignore Vim swp files. 2009-01-29 17:12:00 +08:00
History Prepped for 0.2.8 release. 2009-01-28 16:16:43 -05:00
httparty.gemspec Prepped for 0.2.8 release. 2009-01-28 16:16:43 -05:00
Manifest Bumped version and prepped for release. 2009-01-28 14:52:40 -05:00
MIT-LICENSE Removing .txt from files (it has always annoyed me). Boo Windows! 2008-12-05 17:11:58 -05:00
Rakefile Removed active support. Added json. Added some core extensions. 2008-12-06 22:47:39 -05:00
README Added readme info on CLI interface. 2009-01-05 02:03:37 -05:00
setup.rb Revert "Removed setup.rb. I don't need it (I don't think)." 2008-12-05 17:23:26 -05:00

= httparty

== DESCRIPTION:

Makes http fun again!

== FEATURES:

* Easy get, post requests
* Basic http authentication
* Default request query string parameters (ie: for api keys that are needed on each request)
* Automatic parsing of JSON and XML into ruby hashes based on response content-type

== EXAMPLES:

See http://github.com/jnunemaker/httparty/tree/master/examples

== COMMAND LINE INTERFACE

httparty also includes the executable <tt>httparty</tt> which can be
used to query web services and examine the resulting output. By default
it will output the response as a pretty-printed Ruby object (useful for
grokking the structure of output). This can also be overridden to output
formatted XML or JSON. Execute <tt>httparty --help</tt> for all the
options. Below is an example of how easy it is.

  httparty "http://twitter.com/statuses/public_timeline.json" -f json

== REQUIREMENTS:

* JSON ~> 1.1

== INSTALL:

* sudo gem install httparty