oreilly/couchdb-guide — Issue #454: Uploading a Design Document
Author: wraithmonster
Created: 2012-01-16 21:15:54+00:00
State: open

Towards the bottom of the page http://guide.couchdb.org/draft/design.html, the syntax for uploading the design doc is wrong.

```curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json```

should be

```curl -X PUT http://127.0.0.1:5984/basic/_design/example -d @mydesign.json```

as noted here http://stackoverflow.com/a/4418695/154065.