From 7fee5b9d131f6836bbbefd2f9c2e1c439cbd4867 Mon Sep 17 00:00:00 2001 From: Patrick Rainier Juen Date: Wed, 8 Nov 2017 14:11:57 +0800 Subject: [PATCH] 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) --- rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api.md b/rest-api.md index d64f02799..cb5396b5b 100644 --- a/rest-api.md +++ b/rest-api.md @@ -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