aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorleyrer <gitlab@leyrer.priv.at>2020-12-26 13:45:01 +0100
committerleyrer <gitlab@leyrer.priv.at>2020-12-26 13:45:01 +0100
commit151fa1e450740b08ee783e819dd42cf2c48c335c (patch)
tree8eca3da7bbccd9455a51e6055c27a2dc62727e97 /doc
parentab4c170672c0679c5b8ebc6065e3ca2b13165f24 (diff)
downloadShaarli-151fa1e450740b08ee783e819dd42cf2c48c335c.tar.gz
Shaarli-151fa1e450740b08ee783e819dd42cf2c48c335c.tar.zst
Shaarli-151fa1e450740b08ee783e819dd42cf2c48c335c.zip
Typo fix line 76 'Authentication' -> Authorization
Diffstat (limited to 'doc')
-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```