diff options
| author | Jeff Carr <[email protected]> | 2024-10-30 09:14:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-30 09:14:20 -0500 |
| commit | 020de631c8da1f0dd674c0593acf5d814b713bf3 (patch) | |
| tree | 5fd87114e484c29726117f3ea03e4b83f3c421bf /post.go | |
| parent | 7685f0b5ebc217c2489aca4c913d28a01150ad74 (diff) | |
try to send a create
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'post.go')
| -rw-r--r-- | post.go | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -6,7 +6,6 @@ import ( "net/http" "os" "os/user" - "strings" "go.wit.com/log" ) @@ -39,11 +38,11 @@ func httpPost(url string, data []byte) ([]byte, error) { return body, err } - test := strings.TrimSpace(string(body)) - log.Info("go.wit.com returned body:", test) - if test == "OK" { - return body, nil - } + // test := strings.TrimSpace(string(body)) + // log.Info("go.wit.com returned body:", test) + // if test == "OK" { + // return body, nil + // } return body, nil } |
