it is wire I use the tips that I found in the youtube Chanel for the sript but it is not working yet
function doGet(e) {
var ss = SpreadsheetApp.openById(e.parameter.ID);
var sh = ss.getSheetByName(e.parameter.SH);
var Funcion = e.parameter.FUNCION;
var rg = sh.getDataRange().getValues();
var outString = '';
if ( Funcion == 'ENVIAR' ) {
var registro = e.parameter.REGISTRO.split(',');
sh.appendRow(registro);
return ContentService.createTextOutput("New record created");
}
else if (Funcion == 'READ') {
for (var row= 0;row<rg.length; ++row){
outString += rg [row] .join (',') + '\ n';