Merge pull request #6138 from hashicorp/docs-fix-data-flag

--payload -> --data for curl; consistent @payload
This commit is contained in:
Charlie Voiselle 2019-08-15 14:27:08 -04:00 committed by GitHub
commit f69723653f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -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
```