I need to use MongoDB as an external database--I figure I'll access mLab or MongoDB Atlas with CloudScript. But PlayFab's documentation and example code in most departments is extremely lacking. Does anyone have a quick example of how to access mLab's REST API via CloudScript?
I've made a few attempts myself, by looking at conventional JavaScript examples to no avail. I'm especially looking at how to pass the authentication header parameters to the REST API.