From 060ca56fae9c34d05a4d50710ef827da7ce73b54 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sun, 27 Mar 2022 10:33:51 -0400 Subject: [PATCH] docs: fix malformed post requests Signed-off-by: Eric Callahan --- docs/web_api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/web_api.md b/docs/web_api.md index c7ec8e5..d1f55d1 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -2309,13 +2309,13 @@ POST /server/job_queue/job?filenames=job1.gcode,job2.gcode,subdir/job3.gocde ```http POST /server/job_queue/job -Content-Type: applicaton/json +Content-Type: application/json { "filenames": [ "job1.gcode", "job2.gcode", - "subdir/job3.gocde", + "subdir/job3.gcode" ] } ``` @@ -2329,7 +2329,7 @@ JSON-RPC request: "filenames": [ "job1.gcode", "job2.gcode", - "subir/job3.gocde", + "subir/job3.gcode" ] }, "id": 4654 @@ -3552,7 +3552,7 @@ An object containing OctoPrint Printer status HTTP request: ```http POST /api/printer/command -Content-Type: applicaton/json +Content-Type: application/json { "commands": ["G28"]