RestClient 0.5
Posted by Adam Wiggins on June 21, 2008 at 02:56 PM
gem install rest-client for new features:
- SSL support
- User/password embedded in the url (e.g. https://joe:mypass@example.com)
- Subresource nesting with [] syntax (e.g.
site['posts/1/comments'].get) (more examples) - Better exception classes with access to the response object and more readable output in irb
Thanks to Pedro Belo and Ardekantur, who contributed most of the new code in this release.
Comments
There are 2 comments on this post. Post yours →
Any reason for not using the standard https://joe:mypass@example.com syntax for userinfo?
Er... because I had a typo in my post. :) It does use the standard syntax, since it's just URI.parse(url). I've updated the post.
Post a comment
Required fields in bold.