Page 1 of 1

Pass Variable, array, to Rest service

Posted: Wed Oct 17, 2012 1:13 pm
by Emmz

Using serviceInstanceName.execute({}); in Custom JS to start a Rest Service.

Is there a way to pass variables or array to the Service ?
Similar to a function call maybe?

Tks.


Pass Variable, array, to Rest service

Posted: Wed Oct 17, 2012 1:38 pm
by Emmz

Maybe easiest is to put my vars into localstorage and then call the Service and extract them using the Tiggzi add JS ..


Pass Variable, array, to Rest service

Posted: Wed Oct 17, 2012 1:38 pm
by maxkatz

You can set any request parameters in the mapping, as always.


Pass Variable, array, to Rest service

Posted: Wed Oct 17, 2012 2:08 pm
by Emmz

Thanks MAX.................................
Ya I will stick with my thought out method