Skip to content

Instantly share code, notes, and snippets.

@dmd

dmd/-

Created September 11, 2015 03:21
Show Gist options
  • Save dmd/92c265e31f50740fc4bc to your computer and use it in GitHub Desktop.
Save dmd/92c265e31f50740fc4bc to your computer and use it in GitHub Desktop.
✔ ~/imt/robot4/clinapi [brighton|✔]
23:21 $ python clinapi.py
* Running on http://127.0.0.1:2135/ (Press CTRL+C to quit)
* Restarting with stat
^Z
[1]+ Stopped python clinapi.py
✘-TSTP ~/imt/robot4/clinapi [brighton|✔]
23:21 $ bg
[1]+ python clinapi.py &
✔ ~/imt/robot4/clinapi [brighton|✔]
23:21 $ http localhost:2135/protocol/composite
127.0.0.1 - - [10/Sep/2015 23:21:22] "GET /protocol/composite HTTP/1.1" 200 -
HTTP/1.0 200 OK
Content-Length: 1245
Content-Type: application/json
Date: Fri, 11 Sep 2015 03:21:22 GMT
Server: Werkzeug/0.10.4 Python/2.7.6
{
"protocol": {
"eval": {
"eval/wr_playback_static_2d": "Wrist Playback Static 2D",
"eval/wr_playback_static_ps": "Wrist Playback Static PS",
"eval/wr_point_to_point_2d": "Wrist Point to Point 2D",
"eval/wr_point_to_point_ps": "Wrist Point to Point PS",
"eval/wr_round_dyn_2d": "Wrist Round Dynamic 2D",
"eval/wr_round_dyn_ps": "Wrist Round Dynamic PS",
"eval/wr_stretch_fe": "Wrist Stretch FE"
},
"therapy": {
"therapy/wr_adaptive_2d_1": "Wrist Adaptive 2D",
"therapy/wr_adaptive_ps_1": "Wrist Adaptive PS",
"therapy/wr_nfan": "Wrist Adaptive Fan North 2D",
"therapy/wr_oneway_rec_2d_1": "Wrist One Way Record 2D",
"therapy/wr_oneway_rec_ps_1": "Wrist One Way Record PS",
"therapy/wr_playback_2d_1": "Wrist Playback 2D",
"therapy/wr_playback_ps_1": "Wrist Playback PS",
"therapy/wr_random_2d_1": "Wrist Random 2D",
"therapy/wr_sfan": "Wrist Adaptive Fan South 2D",
"therapy/wr_static_10": "Wrist Static 10 2D",
"therapy/wr_static_5": "Wrist Static 5 2D",
"therapy/wr_strength_10": "Wrist Strength 10 2D",
"therapy/wr_strength_5": "Wrist Strength 5 2D",
"therapy/wr_warm_up_test": "Wrist Test"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment