Skip to content

Commit

Permalink
Update the request
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Aug 30, 2024
1 parent 7fbe34a commit 4164e05
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
POST
/

content-length:13
host:example.amazonaws.com
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20150830T123600Z

host;x-amz-content-sha256;x-amz-date
content-length;host;x-amz-content-sha256;x-amz-date
UNSIGNED-PAYLOAD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
05e1b307416f2cbcf15dd86269efd55537182ee4416101af58762e96bba470bb
9fb60e8938d2178a7d63b49e055d1e65d8f6226f38846e8e0293bf43ce29050c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
POST / HTTP/1.1
Host:example.amazonaws.com
Content-Length:13
X-Amz-Date:20150830T123600Z
x-amz-content-sha256:UNSIGNED-PAYLOAD
Authorization:AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=05e1b307416f2cbcf15dd86269efd55537182ee4416101af58762e96bba470bb
Authorization:AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-length;host;x-amz-content-sha256;x-amz-date, Signature=9fb60e8938d2178a7d63b49e055d1e65d8f6226f38846e8e0293bf43ce29050c

Param1=value1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWS4-HMAC-SHA256
20150830T123600Z
20150830/us-east-1/service/aws4_request
aa6266a3ff4aa2eccc273b6b6a91e47e87b52b74508854d7c367c8e0dcd171ed
9dd145dbd195542d88539477304a02796be6488c02842b4fc1b907203adc8663
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
POST
/
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host%3Bx-amz-content-sha256
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-content-sha256
content-length:13
host:example.amazonaws.com
x-amz-content-sha256:UNSIGNED-PAYLOAD

host;x-amz-content-sha256
content-length;host;x-amz-content-sha256
UNSIGNED-PAYLOAD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ec2168c832d326a5d1a7ad05d85a8e3770e6db2deaf99b08b5e6112bce1d69db
d5b951b200c7f96f239466b3e1978083ccd08678d4aea2b0bebaa6b2cf3d8c13
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
POST /?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=host%3Bx-amz-content-sha256&X-Amz-Expires=3600&X-Amz-Signature=ec2168c832d326a5d1a7ad05d85a8e3770e6db2deaf99b08b5e6112bce1d69db HTTP/1.1
POST /?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fus-east-1%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-content-sha256&X-Amz-Expires=3600&X-Amz-Signature=d5b951b200c7f96f239466b3e1978083ccd08678d4aea2b0bebaa6b2cf3d8c13 HTTP/1.1
Host:example.amazonaws.com
Content-Length:13
x-amz-content-sha256:UNSIGNED-PAYLOAD

Param1=value1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AWS4-HMAC-SHA256
20150830T123600Z
20150830/us-east-1/service/aws4_request
11f2ce4330f6d25be401ad9feb4deb5c054528030939b27762878a3710e81fdb
24b3d8a2ee4f76884e0b2bedfaeb8f4feca93e09d9e53b7d13bc040efd106329

0 comments on commit 4164e05

Please sign in to comment.