Im trying to add a list row to my spreadsheet but I'm having trouble with it (400 bad request). here is my ajax call:
var url = "https://spreadsheets.google.com/feeds/list/(my key here)/(my worksheet id here)/private/full"; var dataType = "application/atom+xml; charset=UTF-8; type=entry"; var dataFile = "as.xml"; var success = function() { alert('success'); } $.ajax({ type: 'POST', url: url, data:dataFile, success: success, contentType: dataType }); here is my as.xml file: <entry xmlns="http://www.w3.org/2005/Atom" xmlns:gsx="http://schemas.google.com/spreadsheets/2006/extended"> <gsx:name>Elizabeth Bennet</gsx:name> <gsx:items>60</gsx:items> </entry> Appreciate your help!
