From: Minero Aoki Date: 2001-12-15T02:32:55+09:00 Subject: [ruby-talk:28528] Re: Problem with the post command. In mail "[ruby-talk:28514] Problem with the post command." olczyk@interaccess.com (Thaddeus L. Olczyk) wrote: > ============================================== > require 'net/http' > > h=Net::HTTP::new('my server',80) > resp,data = h.post('/','Hello.\n',nil) > On my simulator I see the header is sent, but not the 'Hello' > string. Hmm. Try the code below: Net::HTTP.start( 'my server', 80 ) {|http| resp, data = http.post( '/', "Hello.\n" ) } And, which version of ruby you are using? -- Minero Aoki