From 2b35a1fbfe37651d60ce6ea3e49b473aa1ae799e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Fri, 23 Aug 2019 13:24:31 +0200 Subject: [PATCH] Changed spec, URL parameters specified by curly brackets instead of colon --- spec/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/README.md b/spec/README.md index c1e7c9f..1e3912c 100644 --- a/spec/README.md +++ b/spec/README.md @@ -325,9 +325,9 @@ A new id is created for the appended route so it can be referenced later. #### Delete a route -Removes the route identified by `:id`. +Removes the route identified by `{id}`. -* **URL**: `/routes/:id` +* **URL**: `/routes/{id}` * **Method**: `DELETE` * **Success Responses**: * **Code**: `204 No Content` @@ -342,9 +342,9 @@ Removes the route identified by `:id`. #### Retrieve route information -Retrieves the information about the route identified by `:id`. +Retrieves the information about the route identified by `{id}`. -* **URL**: `/routes/:id` +* **URL**: `/routes/{id}` * **Method**: `GET` * **Success Responses**: * **Code**: `200 OK`