google-apis-explorer

How to send data from HTML form to Google Spreadsheet using JavaScript?

风格不统一 提交于 2019-11-27 09:39:27
I'm trying to build a webapp that records datas from a form in a Google Spreadsheet. To do this, I have to use JavaScript (JSON or AJAX requests will work as well), but I cannot use Google Apps Script because I need the user to keep using my pages and GAS doesn't allow it. I'm not so much versed in JSON requests but I tried to make an append one: no surprise, it's not working and no surprise, I don't know why. I'm not sure the URL I used to make the request and the code are correct, but not knowing very well how to proceed, it's quite difficult to know what's wrong in my code. That's my form:

How to send data from HTML form to Google Spreadsheet using JavaScript?

时光总嘲笑我的痴心妄想 提交于 2019-11-26 14:50:03
问题 I'm trying to build a webapp that records datas from a form in a Google Spreadsheet. To do this, I have to use JavaScript (JSON or AJAX requests will work as well), but I cannot use Google Apps Script because I need the user to keep using my pages and GAS doesn't allow it. I'm not so much versed in JSON requests but I tried to make an append one: no surprise, it's not working and no surprise, I don't know why. I'm not sure the URL I used to make the request and the code are correct, but not