Forum: Ruby on Rails How to POST raw data?

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.
548240c1431285c235ecf711293a7311?d=identicon&s=25 Yash (Guest)
on 2006-02-11 05:57
Hi,

I know that ActionController::AbstractRequest provides a raw_post method
that reads the data that has been posted to the HTTP server as raw data.
I am trying to create a rails application that POSTs raw XML data to a
web page that reads raw data.
I would like to know how to POST raw data to an HTTP server using Ruby
on Rails.

Can you help me with this?

Thanks,
Yash
648805ae18e92b7c71e46f3caa23ddc8?d=identicon&s=25 Ed C. (Guest)
on 2006-02-11 06:20
(Received via mailing list)
Look into the Net:HTTP standard library documentation, found here:

http://stdlib.rubyonrails.org/libdoc/net/http/rdoc...
This topic is locked and can not be replied to.