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

Error : Content is not Json

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • 3.1.x
    • None
    • admin

    Description

      HI,

      curl -X PUT
      -u [admin]:[password]
      -H 'Content-Type: application/json'
      http://[localhost]:8092/[bucket-name/_design/[ddoc-name

      this was giving content.json error on windows machine.
      Solution is to replace with -H "Content-Type: application/json"
      ..
      What's your thought on putting double quotes here at documentation page.

      Reporter: saurabh
      E-mail: saurabhprataps@gmail.com

      Attachments

        Issue Links

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

          Activity

            People

              matt.carabine Matt Carabine (Inactive)
              docsite-collector Docs Site Collector
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty