From b14679c89024bc67c5121b1ce785b5991b830d85 Mon Sep 17 00:00:00 2001 From: TimLFletcher Date: Wed, 19 Nov 2025 14:21:34 +0000 Subject: [PATCH] DOC-12197 Added non-encoded example --- modules/rest-api/pages/rest-set-up-services.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/rest-api/pages/rest-set-up-services.adoc b/modules/rest-api/pages/rest-set-up-services.adoc index 96cafd4ed5..b6ae55a684 100644 --- a/modules/rest-api/pages/rest-set-up-services.adoc +++ b/modules/rest-api/pages/rest-set-up-services.adoc @@ -50,7 +50,15 @@ Note that during the process of provisioning a single-node cluster, `username` a == Examples The following example establishes data paths for the Data, Index, and Eventing Services. -Commas in the list of service-names have been encoded. + +--- +curl -X POST -H "Content-Type: application/json" http://10.144.220.101:8091/node/controller/setupServices +-d '{"services":"kv,n1ql,index,eventing"}' +-u Administrator:password +--- + +Or you may choose to URI encode the parameters to ensure the string is not malformed by transport layers. +The below example applies URI encoding to the commas. ---- curl -X POST http://10.144.220.101:8091/node/controller/setupServices \