From: Mark Volkmann Date: 2006-01-23T23:32:20+09:00 Subject: Re: Net::HTTP post On 1/22/06, James Britt wrote: > Mark Volkmann wrote: > > Can someone point me to an example of sending a POST request using Net::HTTP? > > > > I found one at http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html, > > but this use the method post_data which, when I look at the source in > > http.rb, is not a method of Net::HTTP. Maybe it's outdated > > documentation. > > What is your version of Ruby? It's 1.8.2 and I'm running under XP. 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. -- R. Mark Volkmann Partner, Object Computing, Inc.