Added API Ping function

This commit is contained in:
glax 2023-09-08 16:31:55 +02:00
parent 88c109adee
commit fc546e68cc

View File

@ -51,6 +51,11 @@ function DeleteData(uri){
});
}
async function Ping(){
let ret = await GetData(`${apiUri}/Ping`);
return ret;
}
async function GetAvailableControllers(){
var uri = apiUri + "/Connectors";
let json = await GetData(uri);