From fea3b532826b628559f8b31093923de05356b13a Mon Sep 17 00:00:00 2001 From: Rachel Tublitz Date: Mon, 9 Dec 2019 10:02:43 -0500 Subject: [PATCH] fix: remove duplicate header key from example script closes #370 --- tools/examples/put.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/examples/put.bash b/tools/examples/put.bash index 88369b6e..1b9e2755 100644 --- a/tools/examples/put.bash +++ b/tools/examples/put.bash @@ -5,7 +5,7 @@ METHOD="PUT" SYNC_MASTER_SECRET="INSERT_SECRET_KEY_HERE" AUTH=`../hawk/venv/bin/python ../hawk/make_hawk_token.py --node $NODE --uri $URI --method $METHOD --secret=$SYNC_MASTER_SECRET --as_header` curl -vv -X PUT "$NODE$URI" \ - -H "Authorization: $AUTH" \ + -H "$AUTH" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -d '{"id": "womble", "payload": "mary had a little lamb with a nice mint jelly", "sortindex": 0, "ttl": 86400}'