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

error in Curl request syntax in Creating design documents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      syntax of CURL to PUT a json view shoud be "Content-Type: application/json" with double quote and not 'Content-Type: application/json' with single quote.
      json file should not get single quote , it works without quote at all.
      '@fileName' - wrong
      @fileName - OK

      please also correct discrepency in ddoc name byfield <> byloc in response.

      Reporter: Olivier Gilad Swerdlow
      E-mail: olivier.swerdlow@gmail.com

      Attachments

        Issue Links

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

          Activity

            People

              marija Marija Jovanovic (Inactive)
              docsite-collector Docs Site Collector
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty