From af0d8658d9fdd6cfa6dc3cdb7c89561796775c66 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 28 May 2019 11:49:14 +0200 Subject: [PATCH] spec: fix OK status code for POST (200->201) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: César Gallego Rodríguez --- spec/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/README.md b/spec/README.md index 0365edb..33a64c2 100644 --- a/spec/README.md +++ b/spec/README.md @@ -202,7 +202,7 @@ Accepts JSON data that defines a new route to be appended to the current routes. } ``` * **Success Responses**: - * **Code**: `200 OK`
+ * **Code**: `201 Created`
**Header**: `Content-Type: application/json`
**Content**:
```