docs: fix malformed post requests
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
384ab71d72
commit
060ca56fae
|
@ -2309,13 +2309,13 @@ POST /server/job_queue/job?filenames=job1.gcode,job2.gcode,subdir/job3.gocde
|
||||||
|
|
||||||
```http
|
```http
|
||||||
POST /server/job_queue/job
|
POST /server/job_queue/job
|
||||||
Content-Type: applicaton/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
"filenames": [
|
"filenames": [
|
||||||
"job1.gcode",
|
"job1.gcode",
|
||||||
"job2.gcode",
|
"job2.gcode",
|
||||||
"subdir/job3.gocde",
|
"subdir/job3.gcode"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -2329,7 +2329,7 @@ JSON-RPC request:
|
||||||
"filenames": [
|
"filenames": [
|
||||||
"job1.gcode",
|
"job1.gcode",
|
||||||
"job2.gcode",
|
"job2.gcode",
|
||||||
"subir/job3.gocde",
|
"subir/job3.gcode"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"id": 4654
|
"id": 4654
|
||||||
|
@ -3552,7 +3552,7 @@ An object containing OctoPrint Printer status
|
||||||
HTTP request:
|
HTTP request:
|
||||||
```http
|
```http
|
||||||
POST /api/printer/command
|
POST /api/printer/command
|
||||||
Content-Type: applicaton/json
|
Content-Type: application/json
|
||||||
|
|
||||||
{
|
{
|
||||||
"commands": ["G28"]
|
"commands": ["G28"]
|
||||||
|
|
Loading…
Reference in New Issue