Update kv.html.md

This commit is contained in:
Przemysław Dąbek 2018-01-24 11:55:17 +01:00 committed by GitHub
parent f5f360acd4
commit 51a663eeca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -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. The payload is arbitrary, and is loaded directly into Consul as supplied.
### Sample Request ### Sample Requests
```text ```bash
$ curl \ $ curl \
--request PUT \ --request PUT \
--data @contents \ --data @contents \
https://consul.rocks/v1/kv/my-key https://consul.rocks/v1/kv/my-key
# or
$ curl \
--request PUT \
--data-binary @contents \
https://consul.rocks/v1/kv/my-key
``` ```
### Sample Response ### Sample Response