Skip to content

Commit ae0d4aa

Browse files
authored
Merge pull request #1069 from jjmerri/patch-3
add body param
2 parents 2327e77 + b6e2224 commit ae0d4aa

File tree

1 file changed

+2
-1
lines changed
  • src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4

1 file changed

+2
-1
lines changed

src/data/markdown/docs/20 jslib/01 jslib/01 aws/SignatureV4/01 sign().md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The first parameter of the `sign` method consists of an Object with the followin
1717
| hostname | string | The hostname the request is sent to |
1818
| path | string | The path of the request |
1919
| headers | Object | The headers of the HTTP request |
20+
| body? | string or ArrayBuffer | The optional body of the HTTP request |
2021
| uriEscapePath | boolean | Whether to uri-escape the request URI path as part of computing the canonical request string. This is required for every AWS service, except Amazon S3, as of late 2017. |
2122
| applyChecksum | boolean | Whether to calculate a checksum of the request body and include it as either a request header (when signing) or as a query string parameter (when pre-signing). This is required for AWS Glacier and Amazon S3 and optional for every other AWS service as of late 2017. |
2223
| | | |
@@ -148,4 +149,4 @@ export default function () {
148149
}
149150
```
150151

151-
</CodeGroup>
152+
</CodeGroup>

0 commit comments

Comments
 (0)