Hello all,
I have developed a RESTFul webservice in RoR. Here under is the controller
Hello all,
I have developed a RESTFul webservice in RoR. Here under is the controller
Rails 2.0 has a framework called ActiveResource that will work with any restful service.
and How does it work…Actually I have a deadline to meet :(. currently Im using rails 1.2.6. There must be a way to solve this problem in this version. Anyone ??
I have the data, its just that I have to parse it to extract all the fields from it. I hope I have made myself clear on what problem I am facing
Another observation…I just tried doing this
@body = response.body.split(’ ') // that is I split the string using space as the delimiter
And in my view I wrote
<%@body.each do |res|%>
<%=res%>
<%end%>
This gives a very strange output. Something like