HTTP post constantly submitting

J

johnmcauley

Hello all,

I have a http 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top