2 ms·
There's a much simpler way to do POSTs with Net::HTTP: response = Net::HTTP.post_form(URI.parse("http://example.com"), {:param => "val"})
by carbon8 16y ago
There's a much simpler way to do POSTs with Net::HTTP:
response = Net::HTTP.post_form(URI.parse("http://example.com"), {:param => "val"})