From: Michael Linfield Date: 2007-09-17T16:30:32+09:00 Subject: Re: posting form data in ruby 1.8.2? > #req.content_type = 'application/x-www-form-urlencoded' > #I get an error saying there is no content_type= method. > > #response = Net::HTTP.post_form("https://login.yahoo.com/config/login?", > {"username", "aaaaaa", "passwd", "bbbb"}) > #No post_form method. > > content_type should be in () IE: content_type=(type, params = {}) instead of quotes same type of scenario for no post_form method Net::HTTP::post_form(url, params) :) have fun! -- Posted via http://www.ruby-forum.com/.