diff --git a/upload.go b/upload.go index bd0d3d1..8d6378f 100644 --- a/upload.go +++ b/upload.go @@ -5,6 +5,7 @@ import ( "fmt" "io" "io/ioutil" + "log" "mime/multipart" "net/http" "os" @@ -66,5 +67,6 @@ func postJSON(jsonB []byte, targetURL string) (resp string, err error) { defer r.Body.Close() b, _ := ioutil.ReadAll(r.Body) resp = string(b) + log.Println(resp) return }