>> You could use the rest_client library for http get/post/put/delete requests:
>> http://rest-client.heroku.com/rdoc/

damn, doesn't work on Windows. The error I get is:

The specified module could not be found.  - C:/Program Files/Common
Files/Shoes/0.r1134/ruby/lib/i386-mswin32/openssl.so

its that old SSL problem again ... I guess any lib that has a
dependency on SSL is going to cause this issue ... and that will
probably all network libraries.

Etienne

>>
>>> Subject: Re: Browse Box
>>> From: [email protected]
>>> To: [email protected]
>>> Date: Thu, 6 Aug 2009 08:40:14 +1000
>>>
>>> I have an app that does a similar thing, posts files to the internet.
>>>
>>> does the youtube-g gem handle the HTTP post for you (if so I'd like to
>>> know)? I ask because shoes' 'download' method (which can do posts) is
>>> broken on OSX raisins
>>> (setting headers doesnt work), but works on Windows. You can use
>>> net::http (if you handle the GUI threading yourself) but that only
>>> works on OSX (domain names dont resolve on windows).
>>>
>>> you cannot use Mechanize because importing Mechanize causes SSL errors.
>>>
>>> ... and the ask_open_file method is broken on OSX raisins, it returns
>>> a nill object. Since there's no copy paste functionality, your users
>>> wont be able to copy paste a local file path into your app... they'll
>>> have to type it in manually.
>>>
>>> I dont mean to be negative :) .... its just that this is exactly what
>>> I am doing and I can tell you all the issues you will come across. If
>>> the youtube-g gem handles the HTTP post for you, you might be OK.
>>>
>>> otherwise, sit tight (but hopefully not too tight) ... I have logged
>>> all these bugs and, fingers crossed, _why will get to them soon.
>>>
>>> my advice to you, if you want cross-platform compatibility, is to
>>> package your app and test on all platforms regularly.
>>>
>>> Etienne
>>>
>>> On Thu, Aug 6, 2009 at 4:51 AM, Saurabh
>>> Bhatia<[email protected]> wrote:
>>> > Hi Guys,
>>> >
>>> > I am making a shoes app called Shoetube, which uploads videos to YouTube
>>> > from the shoe app.
>>> >
>>> > I have got the api working using the youtube-g gem, but not able to add
>>> > a
>>> > browse button to browse the file and send
>>> >
>>> > a post request to YouTube
>>> >
>>> > --
>>> > Best Regards
>>> >
>>> > Saurabh Bhatia
>>> > www.safewlabs.com
>>> >
>>> >
>>> >
>>
>> ________________________________
>> Get your vacation photos on your phone! Click here.
>

Reply via email to