@@ -272,7 +272,7 @@ Within a terminal use CURL to issue the following POST request, which adds a new
272272----
273273DIGEST=`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----
350350curl --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