[Rails] HTTP POST of XML

Mark Wales mark at markwales.com
Wed Feb 1 13:03:45 GMT 2006


I am new to Rails so hopefully not asking stupid questions, but I would
appreciate any help on the following:
 
What is the easiest (least hassle) way for my Rails application to
accept XML input? I know that I can use WSDL, but is there any default
or easily modified way to simply do an HTTP POST of the parameters I
want to pass in?
 
Also, I have tried coding a client to do an HTTP POST of what appeared
to be the parameters to some simple RAILS applications (like recipe from
InstantRails) and it appears that Rails expects a *nested* name-value
pair - something my client software can't currently do. Can someone
explain why Rails does this and if there are any work-arounds?
 
-Mark
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060201/114c2de1/attachment.html


More information about the Rails mailing list