Question

Through all Google I found this example: http://adam.heroku.com/past/2008/8/8/ruby_libs_for_making_web/

I can't find more tutorial stuff on this subject: A step by step and nice tutorial to teach how to use Net::HTTP with Rails for creating a REST client. Even if It is a RailsCast or a Chapter in a book that explains this in a good way please let me know.

Was it helpful?

Solution

There's no real standard way, because there's no real standardised way of REST web service discovery as far as I'm aware? If you're writing the WS yourself then it's up to you. There's some handy Net:HTTP stuff here. There's even a section on RESTful methods.

If you like, write your own class which interfaces Net:HTTP.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top