Skip to content

Commit

Permalink
[Backport 2.x] Warn about escaping quotes in curl command (#634)
Browse files Browse the repository at this point in the history
Warn about escaping quotes in curl command (#632)

* Warn about escaping quotes in curl command



* Update wording



---------


(cherry picked from commit bc87e88)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 90242df commit 310593d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sample-templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Each template is provided in both YAML and JSON format with identical functional
The YAML templates include comments which give more insight into the template's usage.
Use the corresponding `Content-Type` (`application/yaml` or `application/json`) when providing them as the body of a REST request.

**Note:** Several of the templates use both the single quote (`'`) and double quote (`"`) characters which may create issues using the templates with `curl` on the command line and the template in `--data`. Escaping the single quotes or reading the template from a file is needed to work around this.

You will need to update the `credentials` field with appropriate API keys.

To create a workflow and provision the resources:
Expand Down

0 comments on commit 310593d

Please sign in to comment.