From a6c621396b477c4d630456f9f3644c212031425a Mon Sep 17 00:00:00 2001 From: Anders Daljord Morken Date: Thu, 27 Apr 2017 10:29:03 +0200 Subject: [PATCH] Prepared query creation uses POST, not PUT --- website/source/api/query.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/api/query.html.md b/website/source/api/query.html.md index ed628da0d5..bf81edd93d 100644 --- a/website/source/api/query.html.md +++ b/website/source/api/query.html.md @@ -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 ```