Reading POST HTTP


#1

Hello,

I have a script that makes a HTTP Post to a Ruby on Rails controller.
My problem is: how can I read the post data in the controller? The
post data doesn’t come from a html form, it’s a string that represents
a xml.

thanks.


#2

request.raw_post
http://api.rubyonrails.com/classes/ActionController/AbstractRequest.html#M000238