Skip to content

Commit f54c2b1

Browse files
DOC-11517: correct port for create new document (#774)
* DOC-11517: correct port for create new document * DOC-11517: correct CRUD ports
1 parent 4a203e1 commit f54c2b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/ROOT/pages/get-started-verify-install.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ Within a terminal use CURL to issue the following POST request, which adds a new
272272
----
273273
DIGEST=`echo -n sgwuser1:password | base64`
274274
275-
curl --location --request PUT 'http://localhost:4985/traveldb/hotel_88801' \
275+
curl --location --request PUT 'http://localhost:4984/traveldb/hotel_88801' \
276276
--header "Authorization: Basic $DIGEST" \
277277
--header 'Content-Type: application/json' \
278278
--data-raw '{
@@ -322,7 +322,7 @@ image::cbs-view-first-doc.png[]
322322
.Request
323323
[{snippet-header}]
324324
----
325-
curl --location --request GET 'http://localhost:4985/traveldb/hotel_88801' \
325+
curl --location --request GET 'http://localhost:4984/traveldb/hotel_88801' \
326326
--header "Authorization: Basic $DIGEST"
327327
----
328328

@@ -348,7 +348,7 @@ curl --location --request GET 'http://localhost:4985/traveldb/hotel_88801' \
348348
[{snippet-header}]
349349
----
350350
curl --location -g \
351-
--request PUT 'http://localhost:4985/traveldb/hotel_88801?new_edits=true&rev=1-f28b5cc13a38892f4f85913d4e654270' \// <.>
351+
--request PUT 'http://localhost:4984/traveldb/hotel_88801?new_edits=true&rev=1-f28b5cc13a38892f4f85913d4e654270' \// <.>
352352
--header 'Accept: application/json' \
353353
--header 'Content-Type: application/json' \
354354
--data-raw '{
@@ -415,7 +415,7 @@ Note that the _email_ and _name_ fields now contains both the change made in {sg
415415
.Request
416416
[{snippet-header}]
417417
----
418-
curl --location -g --request DELETE 'http://localhost:4985/traveldb/hotel_88801?rev=3-cc2e758ef63b0daf5b01b2baf98c72b6' // <.>
418+
curl --location -g --request DELETE 'http://localhost:4984/traveldb/hotel_88801?rev=3-cc2e758ef63b0daf5b01b2baf98c72b6' // <.>
419419
----
420420
<.> Note that we provide the revision ID of the latest revision (3), as returned in the response to the last GET request.
421421

0 commit comments

Comments
 (0)