Skip to content

Commit

Permalink
Warn about escaping quotes in curl command (#632)
Browse files Browse the repository at this point in the history
* Warn about escaping quotes in curl command

Signed-off-by: Daniel Widdis <[email protected]>

* Update wording

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis authored Apr 1, 2024
1 parent b86ea9c commit bc87e88
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 bc87e88

Please sign in to comment.