See also: https://github.com/neverett8fr/go-home
request
{{host}}:8081/test/asdf GET
response
{
"errors": null,
"data": "teststring"
}
request
{{host}}:8081/endpoint/name1 POST
{
"method": "GET",
"route": "http://localhost:8080/test/pi"
}
response
{
"errors": [
null
],
"data": "endpoint added"
}
request
{{host}}:8081/condition/name1 POST
{
"condition": "always"
}
response
{
"errors": [
null
],
"data": "condition added"
}
request
{{host}}:8081/restart POST
response
{
"errors": [
null
],
"data": "service restarted"
}
request
{{host}}:8081/start POST
response
{
"errors": [
null
],
"data": "service started"
}