aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-12-29 00:36:22 +0100
committerGitHub <noreply@github.com>2020-12-29 00:36:22 +0100
commitf2e309b67d92ea19e47f1fc6b9a676c19d8cf33d (patch)
tree8eca3da7bbccd9455a51e6055c27a2dc62727e97
parentab4c170672c0679c5b8ebc6065e3ca2b13165f24 (diff)
parent151fa1e450740b08ee783e819dd42cf2c48c335c (diff)
downloadShaarli-f2e309b67d92ea19e47f1fc6b9a676c19d8cf33d.tar.gz
Shaarli-f2e309b67d92ea19e47f1fc6b9a676c19d8cf33d.tar.zst
Shaarli-f2e309b67d92ea19e47f1fc6b9a676c19d8cf33d.zip
Merge pull request #1669 from leyrer/master
Typo fix line 76 'Authentication' -> Authorization
-rw-r--r--doc/md/REST-API.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/md/REST-API.md b/doc/md/REST-API.md
index 01071d8e..2a36ea29 100644
--- a/doc/md/REST-API.md
+++ b/doc/md/REST-API.md
@@ -73,7 +73,7 @@ var_dump(getInfo($baseUrl, $secret));
73### Authentication 73### Authentication
74 74
75- All requests to Shaarli's API must include a **JWT token** to verify their authenticity. 75- All requests to Shaarli's API must include a **JWT token** to verify their authenticity.
76- This token must be included as an HTTP header called `Authentication: Bearer <jwt token>`. 76- This token must be included as an HTTP header called `Authorization: Bearer <jwt token>`.
77- JWT tokens are composed by three parts, separated by a dot `.` and encoded in base64: 77- JWT tokens are composed by three parts, separated by a dot `.` and encoded in base64:
78 78
79``` 79```