From 35e7809455c6588e9ce66fcbe78f070f02a4b690 Mon Sep 17 00:00:00 2001 From: Elliot Francis Hunter Date: Fri, 15 Dec 2023 10:37:36 +0000 Subject: [PATCH] DOC-11735: Correct HTTP verb --- .../_partials/howto/how-to-use-xattrs-for-access-grants.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/_partials/howto/how-to-use-xattrs-for-access-grants.adoc b/modules/ROOT/pages/_partials/howto/how-to-use-xattrs-for-access-grants.adoc index 204bd1def..63ff7e040 100644 --- a/modules/ROOT/pages/_partials/howto/how-to-use-xattrs-for-access-grants.adoc +++ b/modules/ROOT/pages/_partials/howto/how-to-use-xattrs-for-access-grants.adoc @@ -58,7 +58,7 @@ CURL:: -- [source, json] ---- -curl -X PUT 'http://localhost:4985/hotels/_config' \ +curl -X POST 'http://localhost:4985/hotels/_config' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data-raw '{ @@ -76,7 +76,7 @@ HTTP:: [source, http] ---- -PUT /hotels/_config HTTP/1.1 +POST /hotels/_config HTTP/1.1 Host: http://localhost:4985 Accept: application/json Content-Type: application/json