summaryrefslogtreecommitdiff
path: root/post.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-30 09:14:20 -0500
committerJeff Carr <[email protected]>2024-10-30 09:14:20 -0500
commit020de631c8da1f0dd674c0593acf5d814b713bf3 (patch)
tree5fd87114e484c29726117f3ea03e4b83f3c421bf /post.go
parent7685f0b5ebc217c2489aca4c913d28a01150ad74 (diff)
try to send a create
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'post.go')
-rw-r--r--post.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/post.go b/post.go
index 9537bc8..ccdfb11 100644
--- a/post.go
+++ b/post.go
@@ -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
}