From: Mark Thomas Date: 2008-09-09T00:28:45+09:00 Subject: Re: Help Using LibCurl On Sep 4, 10:58 am, clark...@gmail.com wrote: > HI, > I'm new to ruby and have to use the libcurl library but my code don't > seem to work. > > @curl = curl_init() > curl_setopt(@curl, CURLOPT_RETURNTRANSFER, 1) > > curl_setopt(@curl, CURLOPT_URL, 'url'); > curl_setopt(@curl, CURLOPT_POST, 0) > @result = curl_exec(@curl) > @headers = curl_getinfo(@curl) > > Thx Is there a reason why you can't use open-uri?