Skip to content

Conversation

@TimLFletcher
Copy link
Contributor

https://jira.issues.couchbase.com/browse/DOC-12197

I think the doc was fair here but in an attempt to educate, I've added a non-encoded example.

Copy link
Contributor

@rao-shwe rao-shwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
curl -X POST -H "Content-Type: application/json" http://10.144.220.101:8091/node/controller/setupServices
curl -X POST -H "Content-Type: application/json" http://10.144.220.101:8091/node/controller/setupServices \


---
curl -X POST -H "Content-Type: application/json" http://10.144.220.101:8091/node/controller/setupServices
-d '{"services":"kv,n1ql,index,eventing"}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-d '{"services":"kv,n1ql,index,eventing"}'
-d '{"services":"kv,n1ql,index,eventing"}' \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants