Forum: Ruby Posting Forms

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris Long (Guest)
on 2005-12-20 03:53
(Received via mailing list)
Posting forms looks like it should be easy with Ruby 1.8.3 and

Can anyone provide an example of submitting a search to e.g.,
and printing out the results?

This code doesn't seem to work.

require 'net/http'
require 'uri'

#site='' doesn't work either


res = Net::HTTP.post_form(URI.parse(site),
puts res.body

This topic is locked and can not be replied to.