diff --git a/client/client.go b/client/client.go index 33ccbd4..44c0bdd 100644 --- a/client/client.go +++ b/client/client.go @@ -5,6 +5,7 @@ import ( "io/ioutil" "mime" "net/http" + "net/url" "os" "path/filepath" ) @@ -25,3 +26,15 @@ func PutFileFromPath(host, filename string) (path string, err error) { } return string(bytes), nil } + +func hurr() { + values := make(url.Values) + values.Set("email", "anything@email.com") + values.Set("name", "bob") + values.Set("count", "1") + r, err := http.PostForm("http://example.com/form", values) + if err != nil { + return + } + _ = r +}