From f31cb11736084f97ae003dd892456732f5cdd15a Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Thu, 2 Mar 2017 09:44:01 +0100 Subject: Correct the return code description for 204 --- doc/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/api/README.md b/doc/api/README.md index 8526dbcccc6..3399e2bb5f6 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -159,7 +159,7 @@ The following table shows the possible return codes for API requests. | Return values | Description | | ------------- | ----------- | | `200 OK` | The `GET`, `PUT` or `DELETE` request was successful, the resource(s) itself is returned as JSON. | -| `204 OK` | The server has successfully fulfilled the request and that there is no additional content to send in the response payload body. | +| `204 No Content` | The server has successfully fulfilled the request and that there is no additional content to send in the response payload body. | | `201 Created` | The `POST` request was successful and the resource is returned as JSON. | | `304 Not Modified` | Indicates that the resource has not been modified since the last request. | | `400 Bad Request` | A required attribute of the API request is missing, e.g., the title of an issue is not given. | -- cgit v1.2.3