summaryrefslogtreecommitdiff
path: root/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'post.go')
-rw-r--r--post.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/post.go b/post.go
index 8116ea7..753af74 100644
--- a/post.go
+++ b/post.go
@@ -9,6 +9,8 @@ import (
"net/url"
"os"
"os/user"
+
+ "go.wit.com/log"
)
func HttpPost(baseURL string, route string, data []byte) ([]byte, error) {
@@ -19,6 +21,7 @@ func HttpPost(baseURL string, route string, data []byte) ([]byte, error) {
var err error
var req *http.Request
+ log.Info("httppb.HttpPost to", finalURL.String())
req, err = http.NewRequest(http.MethodPost, finalURL.String(), bytes.NewBuffer(data))
if req == nil {
return nil, err