Faulty Curl: "curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json" #422

Closed
RedNifre opened this Issue Aug 6, 2011 · 4 comments

Comments

Projects
None yet
5 participants

RedNifre commented Aug 6, 2011

Part II Section "A Basic Design Document" has this faulty curl:
curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json

It should be like this instead:
curl -X PUT http://127.0.0.1:5984/basic/_design/example --data-binary @mydesign.json

Contributor

mkenyon commented Sep 8, 2011

Thanks for this, @RedNifre. I figured out the double-hyphen and the spacing issue myself, but the at symbol eluded me.

@mkenyon mkenyon added a commit to mkenyon/couchdb-guide that referenced this issue Sep 8, 2011

@mkenyon mkenyon Fixes issue #422, faulty curl using -data-binarymydesign.json 7866701

Same as #415

I ran into this problem too.

@janl janl added a commit that referenced this issue Feb 23, 2012

@janl janl Merge pull request #428 from mkenyon/patch-1
Fixes issue #422, faulty curl using -data-binarymydesign.json
b3610d4
Owner

janl commented Feb 23, 2012

resolved.

janl closed this Feb 23, 2012

@janl janl added a commit that referenced this issue Jun 21, 2012

@janl janl typo #415 #422 #428 e0be61f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment