Update kv.html.md
This commit is contained in:
parent
f5f360acd4
commit
51a663eeca
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue