Post to DF mongoDB from custom v8js script


I have given a guest role access to one of the custom v8js server side script. From inside the script I want to be able to post data to the DF included MongoDB instance. When I execute the post method, would I be required to supply any additional credentials / resources to ensure that the post is successful? My custom script I have allowed guest access and supplying the API key in the URL itself "", {"cool":"very"} );