Neil Middleton wrote:
> How would I go about creating and posting a form POST request from
> inside some Rails code?
> The use case I have is that I have received a form request, and I
> would like to forward this request on to a third party with my
> parameters intact.
> 
> I should add that I want to redirect the user out to the third party
> with the form too.  Essentially I want it to appear to the user that
> they've submitted the form to the third party directly.

Check out mechanize:

http://mechanize.rubyforge.org/mechanize/GUIDE_rdoc.html
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to