]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Typo fix line 76 'Authentication' -> Authorization 1669/head
authorleyrer <gitlab@leyrer.priv.at>
Sat, 26 Dec 2020 12:45:01 +0000 (13:45 +0100)
committerleyrer <gitlab@leyrer.priv.at>
Sat, 26 Dec 2020 12:45:01 +0000 (13:45 +0100)
doc/md/REST-API.md

index 01071d8e550775d7836d99a6129ca5871a7a3d27..2a36ea29d1c99ea334029d520d388816f4d9ec84 100644 (file)
@@ -73,7 +73,7 @@ var_dump(getInfo($baseUrl, $secret));
 ### Authentication
 
 - All requests to Shaarli's API must include a **JWT token** to verify their authenticity.
-- This token must be included as an HTTP header called `Authentication: Bearer <jwt token>`.
+- This token must be included as an HTTP header called `Authorization: Bearer <jwt token>`.
 - JWT tokens are composed by three parts, separated by a dot `.` and encoded in base64:
 
 ```