aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/client.go b/client.go
index 3674db2..8759ad1 100644
--- a/client.go
+++ b/client.go
@@ -4,6 +4,7 @@ import (
"bytes"
"encoding/json"
"io/ioutil"
+ "log"
"net/http"
)
@@ -25,6 +26,10 @@ func Post(uri string, v interface{}) error {
if err != nil {
return err
}
+ log.Println(string(body))
+ return nil
+ // premature debug abort
+
_, err = http.Post(uri, "application/jose+json", bytes.NewReader(body))
if err != nil {
return err