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 \