Running MongoDB Server with http interface

In this post, I’ll explain how to run MongoDB Server using HTTP interface. A good practice using MongoDB is run the server with REST and HTTP Interface parameters.

 
PS C:\Program Files\MongoDB\Server\3.0\bin> .\mongod --rest --httpinterface
 

powerShell_ConnectMongoDBServer

Once the server is running, open the URL localhost:28017 in your browser. You’ll have access to many options like listDatabases, listCollections and serverStatus.

mongoDB_HTTPInterface

Results are displayed in JSON format including REST requests.

Related Links

http://docs.mongodb.org/ecosystem/tools/http-interfaces/

Leave a comment