From: Richard Conroy Date: 2007-10-09T01:24:08+09:00 Subject: Re: Question about Mechanize and Google API On 10/8/07, Jesús Gabriel y Galán wrote: > Hi, > > I'm trying to use Mechanize to retrieve spreadsheets from Google Docs > using the Google API. So far I got the ClientLogin to work, but I > can't seem to be able to use the Auth token they give me back. This is > what I have: From my experience Mechanize is a bit low level, especially in this area. You are expected to write the code yourself to handle, redirects, authentication, SSL etc. You might want to try open-uri or Hpricot as well. But I think there is no right-sized solution - you will still need to do a bit of code writing yourself. BTW - you should check out the new RESTful Web Services book (O'Reilly). In addition to just being an excellent book, it has a lot of practical advice on HTTP clients and directly manipulating HTTP headers, which is I suspect what you will ultimately need to do.