From 91f8e363c525b0b3689c8475cdf969b40889a52d Mon Sep 17 00:00:00 2001 From: luschmar <90399580+luschmar@users.noreply.github.com> Date: Fri, 14 Mar 2025 09:37:41 +0100 Subject: [PATCH 1/2] fix broken example in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66b52cb..4818bec 100755 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ hawk.1.header 1353832234 j4h3g2 GET -/resource?a=1&b=2 +/resource/1?b=1&a=2 example.com 8000 @@ -291,7 +291,7 @@ hawk.1.header 1353832234 j4h3g2 POST -/resource?a=1&b=2 +/resource/1?b=1&a=2 example.com 8000 Yi9LfIIFRtBEPt74PVmbTF/xVAwPn7ub15ePICfgnuY= From 8f4d85df32336234a34d4f61866e5f4ac0a9acb3 Mon Sep 17 00:00:00 2001 From: luschmar <90399580+luschmar@users.noreply.github.com> Date: Fri, 14 Mar 2025 09:59:58 +0100 Subject: [PATCH 2/2] fix broken example in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4818bec..bbad89d 100755 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ Then calculates the request MAC and includes the **Hawk** key identifier, timest and request MAC, with the request using the HTTP `Authorization` request header field: ``` -POST /resource/1 HTTP/1.1 +POST /resource/1?b=1&a=2 HTTP/1.1 Host: example.com:8000 Authorization: Hawk id="dh37fgj492je", ts="1353832234", nonce="j4h3g2", hash="Yi9LfIIFRtBEPt74PVmbTF/xVAwPn7ub15ePICfgnuY=", ext="some-app-ext-data", mac="aSe1DERmZuRl3pI36/9BdZmnErTw3sNzOOAUlfeKjVw=" ```