diff --git a/python_algorithms/RESTful/RESTAPI.md b/python_algorithms/RESTful/RESTAPI.md index f29cbb7..7240632 100644 --- a/python_algorithms/RESTful/RESTAPI.md +++ b/python_algorithms/RESTful/RESTAPI.md @@ -175,12 +175,37 @@ or } ``` - - - +```json { "SHX":2.2 "message":"SHX->2.2." } +``` + +# SETTING Stream Path +**Definition** +`POST /newgon/mode?mode=1` +`POST /newgon/path` +**Arguments** +```json +{ + "gridSH": {"start" : [0 1 1], + "end" : [1 2 4], + "n_u" : 10, + "n_v" : 1, + "f" : 10 + } + "gridO": {"start" : [0 1 1], + "end" : [1 2 4], + "n_u" : 10, + "n_v" : 1, + "f" : 10 + } + "path": [{"OX"=1,"OY"=2,"OZ"=3} + "SHX":2 +} +``` + +