I think you probably should see
http://code.google.com/apis/gdata/articles/using_cURL.html and get your
requests working with that.  Then compare it with what your program is
emitting and adapt.

I personally don't construct spreadsheet URLs by hand in my code.  I first
do a get of the spreeadsheets feed, extract the URL for the spreadsheet of
interest, then do a get of the worksheets feed for that spreadsheet, extract
the URL for the worksheet's cells feed, then do a get of the cell of
interest, extract the URL for the cell's edit link, then do a PUT on the
edit link.  At no time do I attempt to parse a key or ID out of a URL and
reuse it elsewhere.

My advice is to get the whole process working by hand in cURL, and then
you'll be able to spot where you are going wrong in your program (and/or
where the documentation is misleading you ... please do report any faults).

bye,
David.


On Thu, Jul 7, 2011 at 9:26 AM, Александр Гл <[email protected]> wrote:

> i tried to perform GET request on
> https://spreadsheets.google.com/feeds/cells/0AnT0uFQJWw_edENkYndfQWxCWlVmeG9oNW5kWjhYVUE/tCdbw_AlBZUfxoh5ndZ8XUA/private/full/url,
>  but have bad request and Invalid query parameter value for grid-id.,
> looks like i have worng code for spreadsheet id extraction, or i trying to
> extract it from wrong place, is
> https://spreadsheets.google.com/feeds/spreadsheets/private/full  correct
> url for spreadsheet id extraction ?, i do not see any directions for this in
> documentation
>
>
>

Reply via email to