Forum: Ruby on Rails using Rails 1.1 param parsers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
977471a7792cba5ccfbd569f77d805b8?d=identicon&s=25 justin worrall (Guest)
on 2006-05-10 08:50
(Received via mailing list)
Hello,

I want to use the new param parsers in Rails 1.1 to process POST'ed xml
form
data (at the moment I manually parse request.raw_post using REXML). As
per
Scott Raymond:

*"Pluggable parameter parsers* make writable REST web services a cinch.
By
default, posts submitted with the application/xml content type is
handled by
creating a XmlSimple hash with the same name as the root element of the
submitted XML"

so it sounds like I'm just duplicating parsing that Rails is already
doing.

My question is: how do I access the parsed data ? What's the variable
name ?
I can't find anything in the ActionController::AbstractRequest docs that
seems to fit the bill

many thanks.
This topic is locked and can not be replied to.