# Post to DF mongoDB from custom v8js script

**URL:** <https://community.dreamfactory.com/t/post-to-df-mongodb-from-custom-v8js-script/2442>\
**Category:** Server-Side Scripting\
**Created:** [March 31, 2016, 2:44pm UTC](https://community.dreamfactory.com/t/post-to-df-mongodb-from-custom-v8js-script/2442 "2016-03-31T14:44:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_menon](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@m\_menon](https://community.dreamfactory.com/u/m_menon)\
**Post date:** [March 31, 2016, 2:44pm UTC](https://community.dreamfactory.com/t/post-to-df-mongodb-from-custom-v8js-script/2442/1 "2016-03-31T14:44:35Z")

</div>

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

`platform.api.post( "https://www.example.com/api/something_cool", {"cool":"very"} );`

Thanks,  
M.M
