Enrique Comba Riepenhausen wrote:
> Try this:
> http = Net::HTTP.new('domain.com')
> response = http.post('/script.asp', 'x=y')
> content = response.body
> 
> The {} sets header fields if you take a closer look at the post
> request itself you will see them there.

Now you've confused me. The above example doesn't even contain the 
variables I want to send as POST. I need to send x=y as GET and a=1 as 
POST. Get it?

In other words: I need to POST 'a=1' to 'script.asp?y=z'

-- 
Posted via http://www.ruby-forum.com/.