]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #1669 from leyrer/master
authorArthurHoaro <arthur@hoa.ro>
Mon, 28 Dec 2020 23:36:22 +0000 (00:36 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Dec 2020 23:36:22 +0000 (00:36 +0100)
Typo fix line 76 'Authentication' -> Authorization

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:
 
 ```