mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-13 07:17:53 +02:00
Added API Ping function
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user