# Trouble POSTing to DB through Remote Host

**URL:** <https://community.dreamfactory.com/t/trouble-posting-to-db-through-remote-host/4396>\
**Category:** REST API\
**Created:** [April 26, 2018, 12:17am UTC](https://community.dreamfactory.com/t/trouble-posting-to-db-through-remote-host/4396 "2018-04-26T00:17:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jboyda](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@jboyda](https://community.dreamfactory.com/u/jboyda)\
**Post date:** [April 26, 2018, 12:17am UTC](https://community.dreamfactory.com/t/trouble-posting-to-db-through-remote-host/4396/1 "2018-04-26T00:17:37Z")

</div>

I have a mobile app that requires data to be retrieved and sent to a db. I have everything set up in my DreamFactory instance with an API key and all the rules I require. I have no problems retrieving the data through an API call, however, I cannot post data. I get a response code of 200 when I send data but nothing ever is created. If I use the API Docs to post info, it works just fine.

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![srinivas557](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/srinivas557/32/1167_2.png) [@srinivas557](https://community.dreamfactory.com/u/srinivas557)\
**Post date:** [June 23, 2018, 2:53pm UTC](https://community.dreamfactory.com/t/trouble-posting-to-db-through-remote-host/4396/2 "2018-06-23T14:53:31Z")

</div>

I am having the same issue … if the method called from pgadmin for postgres its working to insert the data but when called the same function from dreamfactory its not working … but select is working … can any one help on this

---

<div class="post-metadata">

**Author:** ![Erik\_Jacobsen](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/erik_jacobsen/32/1132_2.png) [@Erik\_Jacobsen](https://community.dreamfactory.com/u/Erik_Jacobsen)\
**Post date:** [October 17, 2018, 8:17pm UTC](https://community.dreamfactory.com/t/trouble-posting-to-db-through-remote-host/4396/3 "2018-10-17T20:17:57Z")

</div>

Can you share any examples of the different responses(with credentials obfuscated of course)? When you successfully POST data with the mobile app, what are you getting along with the 200? A blank array? Nothing?

Thanks!!
