Bohn
Bohn

Reputation: 26919

REST client example with Net::HTTP and Rails

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.

Upvotes: 0

Views: 1522

Answers (1)

Mike Campbell
Mike Campbell

Reputation: 7978

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.

Upvotes: 1

Related Questions