rest-client passing parameters on get request


Karl Baum <karl.baum@...>
 

What is the proper way to pass parameters on GET request?

thx

-karl


Archiloque <code@...>
 

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.