rest-client passing parameters on get request


Karl Baum <karl.baum@...>
 

Thx!



-- Sent from my Palm Pre


On Jul 24, 2010 2:20 PM, Archiloque <code@...> wrote:


Le 24 juil. 2010 à 17:29, Karl Baum a écrit :

> What is the proper way to pass parameters on GET request?
>
> thx
>
> -karl

RestClient.get 'http://example.com/resource', {:params => {:id => 50, 'foo' => 'bar'}}

A.