Skip to content

Commit 94b01cd

Browse files
authored
doc: Add note about use of curl for experimental Alertmanager API (#4037)
Signed-off-by: Jack Baldry <[email protected]>
1 parent 93b5fbc commit 94b01cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/api/_index.md

+3
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,9 @@ _This experimental endpoint is disabled by default and can be enabled via the `-
724724

725725
_Requires [authentication](#authentication)._
726726

727+
> **Note:** When using `curl` send the request body from a file, ensure that you use the `--data-binary` flag instead of `-d`, `--data`, or `--data-ascii`.
728+
> The latter options do not preserve carriage returns and newlines.
729+
727730
#### Example request body
728731

729732
```yaml

0 commit comments

Comments
 (0)