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
2009-01-29 04:23:44 -05:00
bin Fixed support for specifying headers from CLI. 2009-01-28 14:51:32 -05:00
examples Updated history and examples. 2009-01-29 04:23:44 -05:00
features Cucumber features and steps for most functionality as of the 0.2.8 2009-01-29 17:12:03 +08:00
lib Added a 'headers' accessor to the response with a hash of any HTTP 2009-01-29 17:12:09 +08:00
spec Fixed one failing spec. 2009-01-29 04:16:39 -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
cucumber.yml Cucumber features and steps for most functionality as of the 0.2.8 2009-01-29 17:12:03 +08:00
History Updated history and examples. 2009-01-29 04:23:44 -05:00
httparty.gemspec Add support for a ":cookies" option to be used at the class level, or as 2009-01-29 17:12:05 +08:00
Manifest Add support for a ":cookies" option to be used at the class level, or as 2009-01-29 17:12:05 +08:00
MIT-LICENSE Removing .txt from files (it has always annoyed me). Boo Windows! 2008-12-05 17:11:58 -05:00
Rakefile Cucumber features and steps for most functionality as of the 0.2.8 2009-01-29 17:12:03 +08: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