Forbidden should be 403 not 406

Source: [httpstatuses.com](https://httpstatuses.com/403), [stackoverflow](https://stackoverflow.com/questions/3297048/403-forbidden-vs-401-unauthorized-http-responses)
This commit is contained in:
Patrick Rainier Juen 2017-11-08 14:11:57 +08:00 committed by GitHub
parent 6bfd554ce9
commit 7fee5b9d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ title: RESTful API
### Error status
* `401 Unauthorized` - not authenticated
* `406 Forbidden` - authenticated but no permissions
* `403 Forbidden` - authenticated but no permissions
* `422 Unprocessable entity` - validation
### Errors