Run Restservice with dynamic name
Hey gang..
I have a rest service defined in Tiggzi named. "test1"
I need to Invoke this Service using JS.
test1.execute({});
This is fine.
But I want to have the name of service to execute dynamic.
I tried..
var myservice = "test1";
myservice.execute({})
But get error TypeError: Object Service1 has no method 'execute'
Can U help?
Tks