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

design-documents-rest-api documentation missing several single quotes in the curl commands

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • documentation
    • TP Sprint 15

    Description

      http://docs.couchbase.com/couchbase-manual-2.5/cb-rest-api/#design-documents-rest-api

      ========
      > curl -X PUT -H 'Content-Type: application/json' \
      http://user:password@localhost:8092/sales/_design/dev_byfield' \
      -d @byfield.ddoc
      ========
      Missing single quote in front of http to match the single quote at the end of the URL ....byfield'

      ========
      the content-type set in this manner will be rejected.

      http://user:password@localhost:8092/sales/_design/dev_byfield'
      ========
      Again missing single quote in front of http to match the single quote at the end of the URL ....byfield'

      ========
      > curl -X GET \
      -H 'Content-Type: application/json' \
      'http://user:password@192.168.0.77:8092/sales/_design/dev_byfield
      ========
      Missing single quote at the end of the URL ....byfield' to match the one at the start of the line.

      ========
      > curl -v -X GET \
      -H 'Content-Type: application/json' \
      'http://user:password@192.168.0.77:8092/sales/_design/

      • About to connect() to 192.168.0.77 port 8092 (#0)
        ========
        Again missing single quote at the end of the URL ....byfield' to match the one at the start of the line. Also > is printed instead of a literal greater than symbol.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ruth Ruth Harris (Inactive)
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty