Skip to content
Snippets Groups Projects
Commit eef0b403 authored by Jonah Husson's avatar Jonah Husson
Browse files

change to post

parent ea9f3b5d
No related branches found
No related tags found
2 merge requests!61Hotfix/fix is online,!39Merge release into master
...@@ -205,7 +205,7 @@ func (wc *webConn) isOnlineHelper(addr string, pingTimeout time.Duration) (time. ...@@ -205,7 +205,7 @@ func (wc *webConn) isOnlineHelper(addr string, pingTimeout time.Duration) (time.
Timeout: pingTimeout, Timeout: pingTimeout,
} }
target := "https://" + addr + "/mixmessages.Gateway/RequestTlsCert" target := "https://" + addr + "/mixmessages.Gateway/RequestTlsCert"
req, err := http.NewRequest("GET", target, nil) req, err := http.NewRequest("POST", target, nil)
if err != nil { if err != nil {
jww.WARN.Printf("Failed to initiate request: %+v", err) jww.WARN.Printf("Failed to initiate request: %+v", err)
return time.Since(start), false return time.Since(start), false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment