Intro
Send requests to check if the configured APIs are up.
How to use
- Write the configuration files using the example bellow.
- Set the
const CONFIG_FILES_PATH
inMainForm
class with the absolute path where the configuration files are stored. - Set the
const INTERVAL_IN_SECONDS
inMainForm
. - Run.
Config file example
Defined in the class RequestConfig
.
{
"Id": "some identifier",
"Uri": "https://myurl.dev/some/some?query=value",
"Method": "GET",
"Auth": {
"Username": "usr",
"Password": "pwd"
},
"Headers": {
"someheader": "abc",
"someotherheader": "def"
}
}