Booking trace API

This commit is contained in:
mr
2024-08-21 16:03:56 +02:00
parent 6ef8cde225
commit 950bbf1d7b
4 changed files with 19 additions and 7 deletions

View File

@@ -60,7 +60,7 @@ func (a *API) CheckRemotePeer(url string) State {
// Check if the database is up
caller := NewHTTPCaller(map[string]map[METHOD]string{})
var resp APIStatusResponse
b, err := caller.CallGet(url, "/status")
b, err := caller.CallPost(url, "/status", []string{})
if err != nil {
return DEAD
}