diff --git a/src/cmd/rest/post.go b/src/cmd/rest/post.go index fcb2136..2f023e3 100644 --- a/src/cmd/rest/post.go +++ b/src/cmd/rest/post.go @@ -30,7 +30,7 @@ var restPostCmd = &cobra.Command{ } url := args[0] - resp, err := req.Get(url) + resp, err := req.Post(url) if err != nil { fmt.Println("Error:", err) return