How to replace the deprecated ScriptDb with Mongodb using URL Fetch service?

廉价感情. 提交于 2019-11-30 16:57:19

It seems that I've found a solution. MongoDB also provides the third way of accessing the DB, though they strongly recommend to use 2 ways described in my question. This is to use their REST API:

So it seems we should pass this url https://api.mongolab.com/api/1/databases?apiKey=<your-api-key> to the UrlFetchApp.fetch() function.

Please correct me if I'm not right. Any additions and notes are appreciated.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!