couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kowalski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-2446) http://guide.couchdb.org/draft/design.html#basic ...
Date Fri, 07 Nov 2014 20:51:34 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kowalski resolved COUCHDB-2446.
--------------------------------------
    Resolution: Fixed

https://issues.apache.org/jira/browse/COUCHDB-2447

> http://guide.couchdb.org/draft/design.html#basic  ...
> -----------------------------------------------------
>
>                 Key: COUCHDB-2446
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2446
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: ASF subversion and git services
>
> http://guide.couchdb.org/draft/design.html#basic
> The Examples for doing someting as simple as creating a desing document dont work at
all...  im really frustrated i dont know what to do... i missed my deadline for my homework
please help me!  i followed  the steps  i have a populated db base called pepe and i get this...
> C:\Users\John\Documents>curl -vX PUT http://localhost:5984/pepe/_desing/repr --data-binary
@mydesing.json
> * timeout on name lookup is not supported
> * About to connect() to localhost port 5984 (#0)
> *   Trying 127.0.0.1...
> * connected
> * Connected to localhost (127.0.0.1) port 5984 (#0)
> > PUT /pepe/_desing/repr HTTP/1.1
> > User-Agent: curl/7.26.0
> > Host: localhost:5984
> > Accept: */*
> > Content-Length: 216
> > Content-Type: application/x-www-form-urlencoded
> >
> * upload completely sent off: 216 out of 216 bytes
> < HTTP/1.1 400 Bad Request
> < Server: CouchDB/1.6.1 (Erlang OTP/R16B02)
> < Date: Fri, 07 Nov 2014 20:21:21 GMT
> < Content-Type: text/plain; charset=utf-8
> < Content-Length: 89
> < Cache-Control: must-revalidate
> <
> {"error":"bad_request","reason":"Only reserved document ids may start with underscore."}
> * Connection #0 to host localhost left intact
> * Closing connection #0
> Futon on Apache CouchDB 1.6.1
> If this is wrong them how  can you create a simple desing document?
> thanks in Advance
> *Reporter*: Jhon Avila
> *E-mail*: [mailto:dreamcodesoft@gmail.com]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message