We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

josna • 7 years ago

Hi,

I am new to Couchdb. I was trying to upload a text document from my Desktop to CouchDb. However, am not able to specify the location to the text file while creating the document. The code given below -

$ curl -X PUT http://127.0.0.1:5984/food/first_doc/diet.txt -H "Content-Type:application/txt" --data-binary @diet.txt
Warning: Couldn't read data from file "diet.txt", this makes an empty POST.

Please help!