I would like to make some REST calls in my rails application which will
then parse the XML results and display them in a view. What I am having
a
hard time doing is figuring out how to make the actual REST Call?
I have figured out how to use XMLRPC , but the site only supports REST.
Is
there an easy way to initiate the GET/POST REST Calls that I need to
make
and analyze the returned XML?
I have figured out how to use XMLRPC , but the site only supports REST. Is
there an easy way to initiate the GET/POST REST Calls that I need to make
and analyze the returned XML?
Thanks but I am looking for my rails app to be a REST Client, not a REST
server. Right now I am just using open-uri to initiate a get request
and
then feed the result into REXML to parse the output. I am assuming there
is
a cleaner way to handle this.