Re: Rails Web services (in general), HTTP GET and JSON and other topics
- From: Brian Candler <B.Candler@xxxxxxxxx>
- Date: Tue, 1 May 2007 05:18:27 +0900
On Tue, May 01, 2007 at 04:30:05AM +0900, dt wrote:
I like SOA, I like Ajax, I like Ruby/Rails, but I am in doubt how to
make some things.
You'll get better answers from the RoR google group. You've come to the Ruby
Language mailing list.
- Does anybody know a good tutorial about Rails Web services? I have
searched the Net, but I couldn't find anything else then a simple
examples (e.g. http://manuals.rubyonrails.com/read/book/10), which do
not answer many of my questions.
Buy a copy of "Agile Web Development with Rails" (as PDF or full paper
book). Chapter 25 is all about web services on Rails.
- How should I be able to make a service in Rails that uses HTTP GET
instead of SOAP or XML methods?
Perhaps you want to consider RESTful routing instead of web services.
GET /things -- returns a list of things (as HTML)
GET /things.xml -- returns a list of things (as XML)
GET /things/1 -- returns thing number 1
GET /things/1.xml
Brian.
.
- References:
- Prev by Date: Re: cyclic array
- Next by Date: Re: run 'some' code as a different user? NET::SSH?
- Previous by thread: Rails Web services (in general), HTTP GET and JSON and other topics
- Next by thread: run 'some' code as a different user? NET::SSH?
- Index(es):
Relevant Pages
|