From 58eda7fa6b92a10825ddaf2ab9a7dd8e259f03fc Mon Sep 17 00:00:00 2001 From: ROS Station Date: Wed, 4 Dec 2019 13:43:43 +0100 Subject: [PATCH] Updated README.md --- python_algorithms/RESTful/README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/python_algorithms/RESTful/README.md b/python_algorithms/RESTful/README.md index 0a3ce21..e51bf03 100644 --- a/python_algorithms/RESTful/README.md +++ b/python_algorithms/RESTful/README.md @@ -1,6 +1,6 @@ +## RESTful APIs: - -http Methods: +**http Methods:** GET - get ressource POST - create a new ressource DELETE - deleting ressources @@ -12,6 +12,8 @@ collection: /status * DELETE +### GETTING information + ## Getting the state of NewGon: **Definition** @@ -43,6 +45,19 @@ collection: /status } ``` +## Getting individual variables of NewGon: +**Definition** + +`GET /status/` + +**Response** +- `404 Not Found` if the variable does not exist +- `200 OK` on success + + + + +### SETTING INFORMATION ## Setting the variables to NewGon **Definition**