From: rubythemystery ruby Date: 2011-12-10T05:34:17+09:00 Subject: REST CLient Example Hi all, Can anyone explain me with an example, by using REST Client to do GET/POST/PUT operations in a Rest web service. In POST/PUT, using REST Client, need to pass the whole xml body to do POST/PUT operations. for example, Using REST Client I need to Get the content of a service using, RESTClient.get(url) POST an xml to an url, RESTClient.post(url,entirexml) PUT an xml to an URL, RESTClient.put(url,entirexml) DELETE using REST CLIENT can anyone help me with examples for all the REST Client HTTP METHODS with example. XML content will be in the following format for example SomeData SomeData SomeData SomeData SomeData SomeData SomeData I need to send the whole xml along with namespace to a rest service using PUT/POST operations of REST Client If anyone have examples on this. kindly post me. Thanks in advance -- Posted via http://www.ruby-forum.com/.