Hi setu,

Two things are wrong.

The first is that that sheet is private, not published, so it is not
accessible without authorization.
http://code.google.com/apis/spreadsheets/data/3.0/reference.html#Visibility

The second is that, even if you were to publish that sheet, you would not be
able to write to it without authentication/authorization.  Since your form
does not do any such thing, you won't be able to write to it that way.

If you can authorize via OAuth with Javascript, you could achieve a working
PUT with Javascript.

Thanks,
-Vic



On Wed, Jan 12, 2011 at 10:54 PM, setu <[email protected]> wrote:

> I am trying to update my cell using this code :
>
> <form id="submitForm" method="PUT" enctype="application/atom+xml" action="
> https://spreadsheets.google.com/feeds/cells/0Aq69FHX3TV4ndDBDVFFETUFhamc5S25rdkNoRkd4WXc/od6/private/full/R5C5
> ">
> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gs='
> http://schemas.google.com/spreadsheets/2006'>
> <id>
> https://spreadsheets.google.com/feeds/cells/0Aq69FHX3TV4ndDBDVFFETUFhamc5S25rdkNoRkd4WXc/od6/private/full/R5C5
> </id>
> <link rel='edit' type='application/atom+xml' href='
> https://spreadsheets.google.com/feeds/cells/0Aq69FHX3TV4ndDBDVFFETUFhamc5S25rdkNoRkd4WXc/od6/private/full/R5C5'/
> >
> <gs:cell row='5' col='5' inputValue='300'/>
> </entry>
> <input type="submit" value="submit"/>
> </form>
>
> But it is not updating my cell & returns empty feed of that cell. Where is
> my error ?
>

Reply via email to