johnmcauley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-31 13:08 UTC
HTTP post constantly submitting
Hello all,
I have a rails request that I have to parse and re-submit to another
form sitting on a web server on another machine.
I use the following code to post the form
Net::HTTP.post_form(URI.parse(URL''),
{''Username''=>'''',
''message''=>params[:reply]})
And it works nicely, except that it will not stop resubmitting the
form, even after the rails app has moved on the form is continuously
resubmitting in the background.
I think this is something stupid that stupid old me ain''t picking up
on. Nevertheless it''s annoying and I want it gone, so any help is
greatly appreciated.
john
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---