Ruby http access to apache

what’s wrong with this?

h = Net::HTTP.new(‘192.168.0.167’, 80)
res, dat = h.get("/zen-accounting/ZenHTTPMaster.rbx?act=load&typ=customer&rid=3", nil)

when i cut and paste this address to my web browser if works fine!

HELP!

···


tom sawyer, aka transami
transami@transami.net

please ignore my last message.

there’s nothing wrong with the coide. it works, i overlooked something
else.

sorry, sorry. sometimes when you stare at something long enough with no
results you just break down.

:slight_smile:

-tom

···

On Mon, 2002-09-09 at 04:38, Tom Sawyer wrote:

what’s wrong with this?

h = Net::HTTP.new(‘192.168.0.167’, 80)
res, dat = h.get(“/zen-accounting/ZenHTTPMaster.rbx?act=load&typ=customer&rid=3”, nil)

when i cut and paste this address to my web browser if works fine!

HELP!


tom sawyer, aka transami
transami@transami.net


tom sawyer, aka transami
transami@transami.net