John Nunemaker
dd9488456b
Merge branch 'master' of https://github.com/SixArm/httparty into SixArm-master
2012-04-12 12:57:16 -04:00
John Nunemaker
bd17111f41
Merge branch 'patch-1' of https://github.com/sbfaulkner/httparty into sbfaulkner-patch-1
2012-04-12 12:51:40 -04:00
John Nunemaker
2dc6872ae3
Merge pull request #119 from guapolo/master
...
Changed username/password validation regexp so you can use a blank username
2012-04-12 09:44:51 -07:00
Pablo Ruiz
83c9aaa8e5
Changed username/password validation regexp so you can use a blank username (useful when using the heroku API with an api key), fx
...
httparty -f xml -H "Accept: application/xml" -u :api_key https://api.heroku.com/apps/appname/ps
2012-01-22 15:10:46 -06:00
Florian Motlik
d0a88d79b4
Adding -r argument to executable to fail if response code >= 400
...
Failing if the response code is >= 400 is very helpful in for example
continuous integration to check after deployment that certain pages still
work.
2011-12-08 15:51:29 +01:00
SixArm
18d1a3a1b7
Require rexml/document which is needed for -f xml
2011-10-10 23:50:39 -07:00
S. Brent Faulkner
3d82f16552
in order to post the data, it needs to be in the body... otherwise nothing ever gets posted
2011-08-09 23:44:22 -03:00
Sandro Turriate
5e96290ee2
Remove dependency of rubygems
...
Closes gh-27
2010-01-30 22:08:29 -05:00
Glenn Rempe
a4c0a41d12
Added support for HTTP HEAD, and OPTIONS verbs in addition to GET, POST, PUT, DELETE.
2009-11-22 20:18:29 -08:00
Alex Vollmer
5bc757c1cb
Refined the verbose output for bin/httparty to look more like curl.
...
Now when -v/--verbose flag is invoked full HTTP bodies (request and
response) are dumped in HTTP message format (minus some odd
capitalization). This also prevents dumping response codes even when
not asked for (the previous behavior).
2009-11-12 13:46:45 -05:00
Vesa Nieminen
ddfc5ea4b9
Fixed reading file content to request body data
...
Signed-off-by: sandro turriate <sandro.turriate@gmail.com>
2009-09-11 11:29:26 +08:00
John Nunemaker
e5e3d54bbc
JSON gem no longer dependency. Stole json decoding from ActiveSupport and bundled just that with HTTParty.
2009-01-31 00:33:45 -05:00
John Nunemaker
c0451b7c66
Fixed that rexml document needed to be required for the rexml fix to not throw error.
2009-01-30 23:27:15 -05:00
John Nunemaker
d95b5e5723
petty formatting issue
2009-01-30 23:24:32 -05:00
John Nunemaker
e999ce11af
Added docs for exceptions and moved rexml fix into core extensions from /bin/httparty
2009-01-30 23:23:47 -05:00
John Nunemaker
37685a6540
Nodoc'd a bunch of internals.
2009-01-30 23:18:27 -05:00
John Nunemaker
79d9ed6677
Fixed support for specifying headers from CLI.
...
Added support for basic auth from CLI.
2009-01-28 14:51:32 -05:00
John Nunemaker
dbb68d047d
Added readme info on CLI interface.
...
Ensured that CLI defaults to ruby pp.
2009-01-05 02:03:37 -05:00
John Nunemaker
78f0c846d8
Prepped for 0.2.5 release.
2009-01-05 01:46:36 -05:00
John Nunemaker
5615a4ba05
Added the bin/httparty executable.
...
This uses HTTParty to query services and format the responses
in several different ways. It's a handy way to explore web services
or simply query them.
Conflicts:
httparty.gemspec
lib/httparty/version.rb
2009-01-05 00:58:05 -05:00