Details
-
Bug
-
Resolution: Fixed
-
None
-
None
-
None
-
*Location*: http://developer.couchbase.com/documentation/server/4.1/rest-api/rest-ddocs-create.html
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36
*Screen Resolution*: 1920 x 1080
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
- relates to
-
DOC-1222 Error : Content is not Json
- Closed