Send method is POST

var link = "https://script.google.com/macros/s/XXXXXXXXXXX/exec";; // Google 
Script
const XMLHttpRequest = Components.Constructor(
"@mozilla.org/xmlextras/xmlhttprequest;1");
var xhr = XMLHttpRequest();
xhr.open('POST', link, false);
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded; 
charset=UTF-8");
xhr.send(_data);



-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-spreadsheets-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-spreadsheets-api/ee8a3245-4399-4a01-9cb4-8a34d3e4514d%40googlegroups.com.

Reply via email to