Added API Ping function
This commit is contained in:
parent
88c109adee
commit
fc546e68cc
@ -51,6 +51,11 @@ function DeleteData(uri){
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function Ping(){
|
||||||
|
let ret = await GetData(`${apiUri}/Ping`);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
async function GetAvailableControllers(){
|
async function GetAvailableControllers(){
|
||||||
var uri = apiUri + "/Connectors";
|
var uri = apiUri + "/Connectors";
|
||||||
let json = await GetData(uri);
|
let json = await GetData(uri);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user