Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-6156

curl calls documentation: wrong port

    XMLWordPrintable

Details

    • DOC-2020-S1-Jan13
    • 1

    Description

      While trying to figure out how to change some cluster settings via CURL I've found the following doc:

      https://docs.couchbase.com/server/6.0/n1ql/n1ql-language-reference/curl.html#Ex7

      And this doc tells me, I must use this curl call:

      curl -X POST -u Administrator:password \ -d '{"all_access": true, "allowed_urls" : ["company1.com", "couchbase.com"], "disallowed_urls" : ["company2.com"] }' http://localhost:9000/settings/querySettings/curlWhitelist

      Everything is OK with this curl command but port number. Here it is 9000.

      But correct value is 8091 as it is specified in the following doc:

      https://docs.couchbase.com/server/6.0/rest-api/rest-get-internal-setting.html

      Attachments

        Activity

          People

            simon.dew Simon Dew
            evgeny.makarenko Evgeny Makarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty