hitch wrote:
> The format is determined by the HTTP Accept header, and not by adding
> an extension on the URL.
> So, your url remains  /sessions/create and not /sessions/create.xml

Wait a moment. The URI is actually /sessions not /sessions/create. The 
HTTP verb is used to select the create method: POST 
http://localhost:3000/sessions would route the request to the create 
method in the controller.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to