Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
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.