|
|
@ -26,10 +26,9 @@ var invokerUtil = function () {
|
|
|
|
restAPIRequestDetails["requestMethod"] = requestMethod;
|
|
|
|
restAPIRequestDetails["requestMethod"] = requestMethod;
|
|
|
|
restAPIRequestDetails["requestURL"] = requestURL;
|
|
|
|
restAPIRequestDetails["requestURL"] = requestURL;
|
|
|
|
restAPIRequestDetails["requestPayload"] = JSON.stringify(requestPayload);
|
|
|
|
restAPIRequestDetails["requestPayload"] = JSON.stringify(requestPayload);
|
|
|
|
var appContext = devicemgtProps["appContext"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var request = {
|
|
|
|
var request = {
|
|
|
|
url: appContext + "api/invoker/execute/",
|
|
|
|
url: context + "/api/invoker/execute/",
|
|
|
|
type: "POST",
|
|
|
|
type: "POST",
|
|
|
|
contentType: "application/json",
|
|
|
|
contentType: "application/json",
|
|
|
|
data: JSON.stringify(restAPIRequestDetails),
|
|
|
|
data: JSON.stringify(restAPIRequestDetails),
|
|
|
|