You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2014/11/07 21:53:34 UTC

[jira] [Updated] (COUCHDB-2446) http://guide.couchdb.org/draft/design.html#basic ...

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

Alexander Shorin updated COUCHDB-2446:
--------------------------------------
    Issue Type: Question  (was: Bug)

> http://guide.couchdb.org/draft/design.html#basic  ...
> -----------------------------------------------------
>
>                 Key: COUCHDB-2446
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2446
>             Project: CouchDB
>          Issue Type: Question
>      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)