From 6db7a8ce32f2e6d7fc05c7560b181847bc3f1236 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Thu, 15 Aug 2019 14:06:21 -0400 Subject: [PATCH] --payload -> --data for curl; consistent @payload --- website/source/api/jobs.html.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/source/api/jobs.html.md b/website/source/api/jobs.html.md index 5205b8dc8..412726356 100644 --- a/website/source/api/jobs.html.md +++ b/website/source/api/jobs.html.md @@ -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 ```