A simple API written in Java with 3 routes
curl <bat signal address>/
curl <bat signal address>/activate
curl <bat signal address>/deactivate
Each end point will return JSON
{
"status": "ON",
"server": "java spring boot"
}
{
"status": "OFF",
"server": "java spring boot"
}
Status can be on or off