docs: fix malformed post requests

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-03-27 10:33:51 -04:00
parent 384ab71d72
commit 060ca56fae
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A
1 changed files with 4 additions and 4 deletions

View File

@ -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"]