diff --git a/cli/http.go b/cli/http.go index 90e60c79f0f288bf146603ea214d133cf772eea3..77c3d3fb09c87b3dede806c8a137fa0eabc18b6b 100644 --- a/cli/http.go +++ b/cli/http.go @@ -18,6 +18,7 @@ func init() { builder = &strings.Builder{} } +// HTTPGet sends sends requests from the CLI to the gosdn HTTP API and processes any response data func HTTPGet(apiEndpoint, f string, args ...string) error { for _, p := range args { builder.WriteString("&")