I know that one of the biggest differences between CouchDB and MongoDB is that Couch uses a REST interface. I've installed Mongo without any other libraries, and the mongod service provides a --rest
command-line option.
Does the MongoDB REST interface do the same thing as CouchDB's? If not then what's it for?
MongoDB does not use a REST interface for communications.
You will need to install a specific driver for you language. Just as you would for MySQL or SQL Server or most other databases.
The list of drivers are here.
The --rest
option allows for you to run some basic queries and monitoring against the mongod
process. It is not a full REST API.
If you're interested in a REST API interface for MongoDB then check out the Sleepy.Mongoose project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With