Sample code : link between DataProcessor & REST

Hello

Im trying to link a Dataprocessor with the Java-REST server side, and i didn’t find any sample code for that.

thanks

Just use the default dataprocessor initialization code with one extra command

var dp = new dataProcessor("/some/url")
dp.init(mygrid);
dp.setTransactionMode("REST"); // <= this line need to be added