oreilly/couchdb-guide

Full POST Example

Closed this issue · 0 comments

In the tour document (http://guide.couchdb.org/draft/tour.html), it would be useful to show an example for uploading a document to an existing database using cURL. Such as:

curl -v -T filename.json -# -o output -X POST \
 -H "Content-Type: application/json" https://user:pass@127.0.0.1/database

The syntax above does not appear to be correct, but you get the idea.