From 84016e7f896faa38f65a4822230d29cab522abea Mon Sep 17 00:00:00 2001 From: jbruce Date: Mon, 24 Dec 2018 20:20:53 -0500 Subject: [PATCH] - fix the api cmd line --- docs/api.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/api.md b/docs/api.md index b9dea84..92cda2a 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,11 +1,12 @@ -# start a run +start a run -curl -d '{"cmd":"run", "profile":"cone-05-lo"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api + curl -d '{"cmd":"run", "profile":"cone-05-long-bisque"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api -# skip the first part of a run -# restart the kiln on a specific profile and start at minute 60 +skip the first part of a run +restart the kiln on a specific profile and start at minute 60 -curl -d '{"cmd":"run", "profile":"cone-05-lo","startat":60}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api + curl -d '{"cmd":"run", "profile":"cone-05-long-bisque","startat":60}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api -# stop a schedule -curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api +stop a schedule + + curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api