Fixes issue #422, faulty curl using -data-binarymydesign.json #428

Merged
merged 1 commit into from Feb 23, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -109,7 +109,7 @@ <h3 id="basic">A Basic Design Document</h3>
<pre>
curl -X PUT http://127.0.0.1:5984/basic
-curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json
+curl -X PUT http://127.0.0.1:5984/basic/_design/example --data-binary @mydesign.json
</pre>
<p>From the second request, you should see a response like: