javascript - Azure Mobileservice Table script respond: How to delete an item of the respond? -


i'm tyring modify respond azure mobileservice table script. let's i'm posting following json object , parameters table script (via android/java):

    jsonobject customuser = new jsonobject();     customuser.addproperty("mail", mail);      list<pair<string,string>> parameters = new arraylist<pair<string, string>>();     parameters.add(new pair<string, string>("login", "true"));      mtableaccounts.insert(customuser, parameters, callback); 

i'm receving json object , paramerts in table script. how can change respond script doesn't send element item.mail?

function insert(item, user, request) { delete item.mail; request.respond(200, {     test: "jooo123" });} 

the element item.mail responded. how change respond elements posted script aren't responded?


Comments