summaryrefslogtreecommitdiff
path: root/doc/api/README.md
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-07 20:18:02 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-10 16:32:32 +0300
commit137ebcfb3cb013174f2885776a47264cffd193a6 (patch)
tree329fd6bfc33e1e393e1d5eef48211843f4eab4aa /doc/api/README.md
parentfdfc93679d1ca91d4666095ba2ca732fdb273947 (diff)
downloadgitlab-ce-137ebcfb3cb013174f2885776a47264cffd193a6.tar.gz
Replace undefined Grape routing code from 400 to 404
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api/README.md')
-rw-r--r--doc/api/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index 8004a00659c..d47e537debc 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -357,13 +357,13 @@ follows:
## Bad request
-When you try to access API URL that does not exist you will receive 400 Bad Request.
+When you try to access API URL that does not exist you will receive 404 Not Found.
```
-HTTP/1.1 400 Bad Request
+HTTP/1.1 404 Not Found
Content-Type: application/json
{
- "error": "400 Bad Request"
+ "error": "404 Not Found"
}
```