Updated README.

parent a136ba1d
......@@ -59,8 +59,8 @@ Acceptable values for *direction*:
#### Action successfully completed
$ GET http://192.168.1.16:5000/move/forward/50
{"message": "OK", "direction": "forward", "action": "move"}
$ GET http://192.168.1.16:5000/move/forward
{"action": "move", "direction": "forward", "message": "OK"}
In this case the HTTP status code returned is 200.
......@@ -76,6 +76,11 @@ In this case the HTTP status code returned is 400.
$ GET http://192.168.1.16:5000/move/forward?blocks=25
{"action": "move", "direction": "forward", "message": "hit_wall"}
#### End of the labyrinth end
$ GET http://192.168.1.16:5000/move/forward?blocks=20
{"action": "move", "direction": "forward", "message": "in_target"}
## Retrieve values from sensors (not yet implemented)
$ GET http://192.168.1.16:5000/sensor/<sensor_name>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment