# My APIs Data not show in device, but show in browser when i serve the project

**URL:** <https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296>\
**Category:** ionic-v1\
**Created:** [April 4, 2017, 4:35am UTC](https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296 "2017-04-04T04:35:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdmirajehossain](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mdmirajehossain/32/108149_2.png) [@mdmirajehossain](https://forum.ionicframework.com/u/mdmirajehossain)\
**Post date:** [April 4, 2017, 4:35am UTC](https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296/1 "2017-04-04T04:35:32Z")

</div>

Here is my ApiEndPoint - in app.js

.constant(‘ApiEndpoint’, {  
url: ‘[http://app.aspireplusm.com/api](http://app.aspireplusm.com/api)’  
})

i also configured my ionic.config.json

```
{
  "name": "Aspire-Plus",
  "app_id": "",
  "proxies":[
    {
      "path":"/api",
      "proxyUrl":"http://app.aspireplusm.com/api"
    }
  ]
}

```

this is from browser

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/3/6/3685665586803ee48fe2bbf3f1308448cd5c2899.png)

here data is get from api.

this from device

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/e/8/e8183a92e1ef5e58f0f45c0a88e6f37e4e863f12.jpg)

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 5, 2017, 12:41pm UTC](https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296/2 "2017-04-05T12:41:29Z")

</div>

What device?  
What platform?  
What did you do to debug the problem?  
Do you get any errors on your device?

---

<div class="post-metadata">

**Author:** ![mdmirajehossain](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mdmirajehossain/32/108149_2.png) [@mdmirajehossain](https://forum.ionicframework.com/u/mdmirajehossain)\
**Post date:** [April 5, 2017, 12:57pm UTC](https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296/3 "2017-04-05T12:57:08Z")

</div>

Device Samsung j7 prime  
I used Nodejs for backend api.  
i don’t get any errors on device.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 5, 2017, 1:08pm UTC](https://forum.ionicframework.com/t/my-apis-data-not-show-in-device-but-show-in-browser-when-i-serve-the-project/85296/4 "2017-04-05T13:08:15Z")

</div>

> [@mdmirajehossain](#):
>
> i don’t get any errors on device.

How did you check?

Did you remote debug using Chrome to see the console logs of the Ionic app?  
[https://ionic.zone/debug/remote-debug-your-app#android](https://ionic.zone/debug/remote-debug-your-app#android)
