diff options
author | yude <yudesleepy@gmail.com> | 2021-01-04 18:51:10 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 18:51:10 +0900 |
commit | e6754f2154a79abd8e5e64bd923f6984aa9ad44b (patch) | |
tree | f074119530bb59ef155938ea367f719f1e4b70f1 /doc/md/REST-API.md | |
parent | 5256b4287021342a9f8868967b2a77e481314331 (diff) | |
parent | ed4ee8f0297941ac83300389b7de6a293312d20e (diff) | |
download | Shaarli-e6754f2154a79abd8e5e64bd923f6984aa9ad44b.tar.gz Shaarli-e6754f2154a79abd8e5e64bd923f6984aa9ad44b.tar.zst Shaarli-e6754f2154a79abd8e5e64bd923f6984aa9ad44b.zip |
Merge pull request #2 from shaarli/master
Merge fork source
Diffstat (limited to 'doc/md/REST-API.md')
-rw-r--r-- | doc/md/REST-API.md | 2 |
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 | ``` |