From 51a663eeca621f400a05029fa574e655bae0edf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20D=C4=85bek?= Date: Wed, 24 Jan 2018 11:55:17 +0100 Subject: [PATCH] Update kv.html.md --- website/source/api/kv.html.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/website/source/api/kv.html.md b/website/source/api/kv.html.md index 04bbe6787..2b93212e5 100644 --- a/website/source/api/kv.html.md +++ b/website/source/api/kv.html.md @@ -197,13 +197,20 @@ The table below shows this endpoint's support for The payload is arbitrary, and is loaded directly into Consul as supplied. -### Sample Request +### Sample Requests -```text +```bash $ curl \ --request PUT \ --data @contents \ https://consul.rocks/v1/kv/my-key + +# or + +$ curl \ + --request PUT \ + --data-binary @contents \ + https://consul.rocks/v1/kv/my-key ``` ### Sample Response