CouchDB - SPLessons

CouchDB HTTP Operation

Home > Lesson > Chapter 12
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

CouchDB HTTP Operation

CouchDB HTTP Operation

shape Description

Each and every transaction regarding CouchDB will be resolved with HTTP. HTTP is an accessible and is a free standard protocol that is well-represented and well-characterised. Each and every operation related to the CouchDB contains the input and output informational structures through JSON (JavaScript Object Notation object). CouchDB is a database that totally grasps the world wide web. This couchDB preserves the information along with JSON reports and can access the archives and queries from the lists with different search engines, by means of hyper text transfer protocols. Record and joins that converts reports into JavaScript. CouchDB functionally admirable with current networks and with versatile applications and constantly deliver network applications specifically away from CouchDB. And some of the key details regarding HTTP protocol for communicating with the couchDB is as follows:

GET

shape Description

These operations describes the predefined records, database objects, composite documents and other functionalities. Similar to the typical request for HTTP and the arrangement of the URL characterises are returned. The CouchDB incorporate static things, documents in the database and configurations with statistical information. In similar condition, the data is returned in terms of JSON record.

shape Description

The HEAD strategy is utilised for initiating the HTTP header for getting a call without the body of the acknowledgement.

POST

shape Description

Post solicitation is utilised to transfer information. By utilising couchDB post solicitation, one can arrange the qualities, transfer records, set records esteems, and at the same time one can begin convinced organisational charges.

PUT

shape Description

By utilising PUT appeals,new objects can be organised, databases, records, perspectives and configuration reports.

DELETE

shape Description

By utilising DELETE solicitation,one can erase all the records, perspectives, and configuration reports.

COPY

shape Description

By using copy strategy, one can duplicate the records and records objectives.

Summary

shape Key Points

  • CouchDB With Rails HTTP Operation - All the operations performed in couchDB will be resolved through HTTP.