Through command line request:
curl  POST -u login:pass --url http://test/item/176/start

and follow code doesn't work for me:


c= Curl::Easy.new('http://test/item/176/start')
c.username = 'login'
c.password = 'pass'
c.http_post('http://test/item/176/start')
curl.perform

 what's wrong?
-- 
Posted via http://www.ruby-forum.com/.