Typo - Chapter 5 Design Documents #448

Open
sandeepmeher opened this Issue Dec 12, 2011 · 2 comments

Comments

Projects
None yet
3 participants

Hi,

In Chapter 5 Design Documents (section A Basic Design Document), I think
the following
curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json
should be changed to
curl -X PUT http://127.0.0.1:5984/basic/_design/example --data-binary @mydesign.json

Thanks and regards,
Sandy

holtt commented Dec 29, 2011

Came to add the same note. Additionally, it doesn't hurt to put quotes around the data-binary filename argument. E.g. --data-binary "@mydesign.json"

Contributor

sghill commented Mar 3, 2013

I think this, and open issue #446, can be closed as a duplicate of resolved issues #415, #422, #428.

The error was fixed in the draft version with commit b3610d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment