mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
Merge pull request #2965 from amorken/docfix-query
(Website doc fix, trivial) Prepared query creation uses POST, not PUT
This commit is contained in:
commit
2bc3dc0e15
@ -109,7 +109,7 @@ successfully.
|
||||
|
||||
| Method | Path | Produces |
|
||||
| ------ | ---------------------------- | -------------------------- |
|
||||
| `PUT` | `/query` | `application/json` |
|
||||
| `POST` | `/query` | `application/json` |
|
||||
|
||||
The table below shows this endpoint's support for
|
||||
[blocking queries](/api/index.html#blocking-queries),
|
||||
@ -224,7 +224,7 @@ The table below shows this endpoint's support for
|
||||
|
||||
```text
|
||||
$ curl \
|
||||
--request PUT \
|
||||
--request POST \
|
||||
--data @payload.json \
|
||||
https://consul.rocks/v1/query
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user