Google sheets 从网页访问已发布的Google表单

Google sheets 从网页访问已发布的Google表单,google-sheets,google-spreadsheet-api,Google Sheets,Google Spreadsheet Api,我有一个包含以下代码的页面: xmlhttp = new XMLHttpRequest(); } xmlhttp.open("GET","https://spreadsheets.google.com/feeds/cells/14EiO1Fq6Z9eiN03eejNMlPAISTmwwCLhtcZxoSqLszo/ovqq6ni/private/full",false); xmlhttp.send(); 由于以下原因,代码失败: 请求的资源上不存在“Access Control Allow O

我有一个包含以下代码的页面:

xmlhttp = new XMLHttpRequest(); }
xmlhttp.open("GET","https://spreadsheets.google.com/feeds/cells/14EiO1Fq6Z9eiN03eejNMlPAISTmwwCLhtcZxoSqLszo/ovqq6ni/private/full",false);
xmlhttp.send();
由于以下原因,代码失败: 请求的资源上不存在“Access Control Allow Origin”标头。因此,不允许访问源“”

我如何解决这个问题?我尝试使用callback参数,但这只会导致相同的错误


问题是我检索URL的方式,还是Google Sheets/Spreadsheets end上的某个内容?

最终通过使用此URL解决了这个问题:

您想用代码实现什么?是否要将电子表格嵌入网页?我只想访问电子表格中的数据,并测试该电子表格中是否包含我从用户处获得的特定值。