Posts tagged restclient

Jan03

RestClient 1.1: Multipart Uploads, and a New Maintainer

restclient ruby http | comments

I’ve given over maintenance of RestClient to Julien Kirch (archiloque). He's got a 1.1 release now in Gemcutter/Rubyforge, with some hot new features:

Continue reading »

May28

RestClient 1.0, Now With SSL Client Certificates

restclient | comments

With HTTP basic auth starting to get the cold shoulder (passwords are basically low-complexity symmetric keys, not too hot for truly secure authentication), and OAuth experiencing growing pains, what options are available today for truly secure RESTful authentication?

Continue reading »

Apr07

Client-Side Caching with Cacheability

restclient rack caching | comments

Cyril Rohr gives us Cacheability, a caching HTTP client which cleverly mashes together RestClient and Rack::Cache. It can cache results in memory, on the filesystem, or in memcached. Grab a copy:

Continue reading »

Jan24

RestClient 0.9

restclient | comments

New stuff:

  • Access response headers:
RestClient.get('http://example.com/pic.jpg').headers[:content_type]
  • Configurable timeout, contributed by Marc-AndrĂ© Cournoyer:
resource = RestClient::Resource.new 'https://example.com', :timeout => 20
  • require ‘restclient’ is now the preferred notation, though require ‘rest_client’ will continue to be supported indefinitely.
Continue reading »

Dec03

Rubyconf Video

events sinatra restclient | comments

Nov07

Rubyconf Slides

events sinatra restclient | comments

Oct14

RestClient 0.8

restclient | comments

Restclient 0.8 released with new features:

  • The restclient binary can take get/put/post/delete as the first argument:
Continue reading »

Sep22

Upcoming Appearances

restclient events sinatra | comments

A few more chances for you to catch me in person:

Aug19

A Logging RestClient

restclient | comments

I keep thinking I’ll run out of things to add to RestClient, but then I keep wanting more features. So here comes 0.7, with gzip/deflate support and client-side logs.

Continue reading »

Aug08

Ruby Libs for Making Web Calls

http ruby restclient rest | comments

John Nunemaker created HTTParty, a library for making web requests. So the options for making web calls from Ruby are now:

Continue reading »

Aug01

RestClient 0.6

restclient | comments

RestClient 0.6 includes an interactive shell contributed by Blake Mizerany. Lay down your curl, for we now have a Ruby Way to fetch resources at the command line!

Continue reading »

Jun21

RestClient 0.5

restclient | comments

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
Continue reading »

Apr05

rest-client 0.4

restclient | comments

The fourth release of rest-client includes a patch from Greg Borenstein that makes it easy to send form-urlencoded data by passing a hash instead of a string as the payload:

Continue reading »

Mar11

Rest Client 0.2

http restclient rest | comments

Based on Dan Kubb's suggestion, I’ve implemented an ActiveResource-style accessor for rest-client. This also supports basic auth, so now:

Continue reading »

Mar09

Rest Client

http ruby restclient rest | comments

REST is part of the Ruby Way. Which is why I’m surprised that every time I go to access a RESTful resource, I find myself writing some sort of ad-hoc rest client. Net::HTTP is too low level - you’ve got to write at least three or four fairly dense lines of code even for a relatively simple GET or PUT.

Continue reading »