From a3295561c435659de920952952c19b5b6f92bea2 Mon Sep 17 00:00:00 2001 From: TimLFletcher Date: Wed, 19 Nov 2025 14:23:05 +0000 Subject: [PATCH] DOC-12197 URI encoding advice for 7.6 --- 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 be4e9dd260..6a63bfd895 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 @@ An incorrectly expressed service-name returns `400 Bad Request`, and an error me == 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 \