Unable to connect, retrying...
Online collaborative whiteboard. Powerful, engaging with timer, emoji's, commenting and voting.
Search for RSS feeds

How to record with a server side script?

Hello, I wanted to know how to record datas with a server side script, because I don't want to write my tables and fields names in my client side javascript code. Actualy to insert data for example, I do : ```javascript //Insert a record window.app.addThing = function(){ var item = {"record":[ { "field_1":"data_1", "field_2":"data_2" } ]}; window.df.apis.myService.createRecords({"table_name":"my_table_name", "body":item}, function (response) { document.getElementById("post-results").innerHTML = JSON.stringify(response); }, function(response) { document.getElementById("get-results").innerHTML = window.app.getErrorString(response); }); } ``` So my question is : How can I do it on the server, and then how can I call this from the client ? Thank you very much, Guillaume.

Feed: Related: