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 0eed71f..9886d82 100644
--- a/client.go
+++ b/client.go
@@ -27,6 +27,11 @@ func Get(uri string, v interface{}) error {
return json.NewDecoder(resp.Body).Decode(v)
}
+// Important header fields
+// Replay-Nonce each request
+// Link links to next stage
+// Retry-After pooling interval
+
func Post(s Signer, uri string, v interface{}) (*http.Response, error) {
body, err := json.Marshal(v)
if err != nil {