From 26006592a75df616eed5f9214348c94687991f8d Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 10 Dec 2015 16:39:12 +0100 Subject: Add helper contact --- client.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client.go') diff --git a/client.go b/client.go index 238543c..c615066 100644 --- a/client.go +++ b/client.go @@ -4,6 +4,7 @@ import ( "bytes" "encoding/json" "errors" + "log" "net/http" "net/textproto" "regexp" @@ -75,6 +76,7 @@ func (c *Client) Post(s Signer, uri string, v interface{}) (*http.Response, erro if err != nil { return nil, err } + log.Println(string(body)) signed, err := s.Sign(body, c) if err != nil { -- cgit v1.2.3