Google api 使用Google Sheets API将数据发布到单元格

Google api 使用Google Sheets API将数据发布到单元格,google-api,google-sheets,postman,Google Api,Google Sheets,Postman,我对这类东西很陌生,我花了一整天的时间试图弄清楚如何使用Sheets API将数据发布到单元格中 上面的文档要求我创建一个包含相关数据的条目元素(用相应的值替换键、工作表TID和单元格)。我已将内容类型设置为应用程序/atom+xml。我的代码如下 <entry xmlns="http://www.w3.org/2005/Atom" xmlns:gs="http://schemas.google.com/spreadsheets/2006"> <id>https:/

我对这类东西很陌生,我花了一整天的时间试图弄清楚如何使用Sheets API将数据发布到单元格中

上面的文档要求我创建一个包含相关数据的条目元素(用相应的值替换
工作表TID
单元格
)。我已将
内容类型设置为
应用程序/atom+xml
。我的代码如下

<entry xmlns="http://www.w3.org/2005/Atom" xmlns:gs="http://schemas.google.com/spreadsheets/2006">
  <id>https://spreadsheets.google.com/feeds/cells/MY_KEY/od6/public/full/R2C2</id>
  <link rel="edit" type="application/atom+xml" href="https://spreadsheets.google.com/feeds/cells/MY_KEY/od6/public/full/R2C2"/>
  <gs:cell row="2" col="2" inputValue="35"/>
</entry>

https://spreadsheets.google.com/feeds/cells/MY_KEY/od6/public/full/R2C2
使用邮递员,我能够从电子表格中
获取数据,但当我尝试
将所获取的数据放入

“谷歌硬盘--找不到页面”

你知道我做错了什么吗


谢谢

您的工作表是适当共享的还是公开的?嗨。是的,它被发布到网络上,任何有链接的人都可以编辑。谢谢