Skip to content

Commit a1f7986

Browse files
DOC-11735: Correct HTTP verb (#770)
1 parent 1b06bee commit a1f7986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/_partials/howto/how-to-use-xattrs-for-access-grants.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ CURL::
5858
--
5959
[source, json]
6060
----
61-
curl -X PUT 'http://localhost:4985/hotels/_config' \
61+
curl -X POST 'http://localhost:4985/hotels/_config' \
6262
--header 'Accept: application/json' \
6363
--header 'Content-Type: application/json' \
6464
--data-raw '{
@@ -76,7 +76,7 @@ HTTP::
7676

7777
[source, http]
7878
----
79-
PUT /hotels/_config HTTP/1.1
79+
POST /hotels/_config HTTP/1.1
8080
Host: http://localhost:4985
8181
Accept: application/json
8282
Content-Type: application/json

0 commit comments

Comments
 (0)