简体   繁体   中英

how do I create web service through mongolab rest api for basic database operation using curl in php?

I am new to mongodb and mongolab.
Any one can tell me how to access mongolab database through curl in php,not through ajax. I want to create api like LOGIN, RESET_PASSWORD, RESIGTRATION. How do I create above web service.

I have reffered https://support.mongolab.com/entries/20433053-REST-API-for-MongoDB for documentation.

Thanks in advance...

If you're running a PHP-enabled server I'd recommend using the MongoDB PHP driver to connect. The MongoLab REST API is really intended for use in applications that otherwise wouldn't need an server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM