# HTTP post constantly submitting

**URL:** <https://www.ruby-forum.com/t/http-post-constantly-submitting/110848>\
**Category:** Rails\
**Created:** [July 31, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/http-post-constantly-submitting/110848 "2007-07-31T15:09:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 31, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/http-post-constantly-submitting/110848/1 "2007-07-31T15:09:37Z")

</div>

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
