Skip to content

Commit 7bbd018

Browse files
authored
docs: Body Auth (#173)
1 parent c5200d7 commit 7bbd018

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/usage/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ This will send `Hello, World!` to `<to>` from `<from>`.
2828
| :---------- | :--------------------------------------------------------- |
2929
| Bearer Auth | Add `Authorization: Bearer API_TOKEN` to headers |
3030
| Basic Auth | Add `Authorization: Basic BASE64_STRING` (`api:API_TOKEN`) |
31-
| Query Auth | Append `@auth=API_TOKEN` to request URL |
31+
| Query Auth | Append `@authorization=API_TOKEN` to request URL |
32+
| Body Auth | Set `auth` to `API_TOKEN` in the request body |
3233

3334
Example:
3435

src/components/HomepageFeatures/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ const FeatureList = [
1111
<>
1212
The main focus of Secured Signal API is to provide a secure layer for
1313
signal-cli-rest-api, supporting <a href="docs/usage#auth">Bearer</a>,{" "}
14-
<a href="docs/usage#auth">Basic</a>, and{" "}
15-
<a href="docs/usage#auth">Query Auth</a>.
14+
<a href="docs/usage#auth">Basic</a>,{" "}
15+
<a href="docs/usage#auth">Query Auth</a> and{" "}
16+
<a href="docs/usage#auth">more</a>.
1617
</>
1718
),
1819
},

0 commit comments

Comments
 (0)