Category Archives: couchdb

Khóa học miễn phí CouchDB – Deleting a Database nhận dự án làm có lương

CouchDB – Deleting a Database Deleting a Database using cURL Utility You can delete a database in CouchDB by sending a request to the server using DELETE method through cURL utility. Following is the syntax to create a database − $ curl -X DELETE http://127.0.0.1:5984/database name Using −X we can specify a custom request method […]

Khóa học miễn phí CouchDB – Updating a Document nhận dự án làm có lương

CouchDB – Updating a Document Updating Documents using cURL You can update a document in CouchDB by sending an HTTP request to the server using PUT method through cURL utility. Following is the syntax to update a document. curl -X PUT http://127.0.0.1:5984/database_name/document_id/ -d ”{ “field” : “value”, “_rev” : “revision id” }” Example Suppose there […]