Merge pull request #6138 from hashicorp/docs-fix-data-flag
--payload -> --data for curl; consistent @payload
This commit is contained in:
commit
f69723653f
|
@ -213,7 +213,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--data @my-job.json \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/jobs
|
||||
```
|
||||
|
||||
|
@ -269,7 +269,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--data '{"Canonicalize": true, "JobHCL": "job \"my-job\" {}"}' \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/jobs/parse
|
||||
```
|
||||
|
||||
|
@ -1256,7 +1256,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--payload @payload.json \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/job/my-job/dispatch
|
||||
```
|
||||
|
||||
|
@ -1316,7 +1316,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--payload @payload.json \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/job/my-job/revert
|
||||
```
|
||||
|
||||
|
@ -1372,7 +1372,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--payload @payload.json \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/job/my-job/stable
|
||||
```
|
||||
|
||||
|
@ -1492,7 +1492,7 @@ The table below shows this endpoint's support for
|
|||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--payload @payload.json \
|
||||
--data @payload.json \
|
||||
https://localhost:4646/v1/job/my-job/plan
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue