I want to pass parameters from the application to the adapter; I want the users of the app to enter these options.
Right now I am passing the parameters like this in adapter:
function getFeeds() {
WL.Logger.debug("inside method");
var input = {
method : 'get',
returnedContentType : 'json',
path : "ios/clientRegister.php",
parameters:{
"employeenumber":"500","employeename":"Harish","employeeemail":"anand5@gmail.com","city":"Delhi",
"employeeadID":"an6458","businessUnit":"WASE","country":"India","city":"Bengaluru","location":"EC4","bloodGroup":"B+ve", "gender":"Male","tShirt":"xl"
}
};
return WL.Server.invokeHttp(input);
}