If I use map.resources, Rails should automatically pull the parameters
out of the XML for me, right? Or do I have to do a slurp_params trick
like http://www.railsweenie.com/forums/2/topics/709?page=6 ? Finally,
how can I test this with curl? I’ve tried doing stuff like:
curl -d “foo”
but that doesn’t work. The request params show
“foo”=>"". That’s without using
slurp_params…and when I do that, the format is url_encoded instead
So two questions.
- Do I need to do anything special to parse XML params?
- How can I test POSTing XML to my controller?