From: Stephen Hildrey Date: 2006-01-25T00:50:07+09:00 Subject: Re: Net::HTTP post Mark Volkmann wrote: > I think my problem is that I need to pass a String as the second > parameter to HTTP.post. I don't know how to format it though. Should > it look like this? > > "name1=value1&name2=value2" > > This format isn't working for me. Yep - see my other post. You can convert from your 'data' hash to a suitable string using something like: data.to_a.collect {|k,v| k.to_s+'='+v}.join('&') HTH, Steve -- Stephen Hildrey E-mail: steve@uptime.org.uk / Tel: +442071931337 Jabber: steve@jabber.earth.li / MSN: foo@hotmail.co.uk PGP: http://www.uptime.org.uk/steve/pgpkey (0x3A61C909)