VV VV wrote:
> 
> 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?

probably need to use something  else?
-- 
Posted via http://www.ruby-forum.com/.