# IonicView App - Http request to external API (Plaid auth API)

**URL:** <https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627>\
**Category:** ionic-v1\
**Created:** [July 5, 2016, 9:39am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627 "2016-07-05T09:39:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![devstar](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@devstar](https://forum.ionicframework.com/u/devstar)\
**Post date:** [July 5, 2016, 9:39am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/1 "2016-07-05T09:39:02Z")

</div>

Hi  
I am facing same issue available on this link [[SOLVED] IonicView App - Http request to external API](https://forum.ionicframework.com/t/solved-ionicview-app-http-request-to-external-api/18696/9)

I have tried all the steps from above thread.

But I am still not able get the response from Plaid API. This is working fine in browser. This is my proxy setting in ionic.project

“proxies”: [  
{  
“path”: “/auth”,  
“proxyUrl”: “[http://tartan.plaid.com/auth](http://tartan.plaid.com/auth)”  
}  
]

App ID -

“app\_id”: “a5080fec”,

system information:

Cordova CLI: 6.2.0  
Gulp version: CLI version 3.9.1  
Gulp local: Local version 3.9.1  
Ionic Framework Version: 1.3.1  
Ionic CLI Version: 1.7.16  
Ionic App Lib Version: 0.7.3  
ios-deploy version: Not installed  
ios-sim version: Not installed  
OS: Mac OS X El Capitan  
Node Version: v0.10.35  
Xcode version: Xcode 7.3.1 Build version 7D1014

---

<div class="post-metadata">

**Author:** ![Srijith](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/srijith/32/95021_2.png) [@Srijith](https://forum.ionicframework.com/u/Srijith)\
**Post date:** [July 5, 2016, 10:10am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/2 "2016-07-05T10:10:16Z")

</div>

Can you post your code where you call the api? What is the response from the api? Do a cordova run android on your device and look at the logs (print the response to the console)

---

<div class="post-metadata">

**Author:** ![devstar](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@devstar](https://forum.ionicframework.com/u/devstar)\
**Post date:** [July 5, 2016, 10:46am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/3 "2016-07-05T10:46:06Z")

</div>

Thanks for reply.

This is from .html  
`<button class="button button-positive" ng-click="openLink()">Connect Your Account</button>`

this is from .js

$scope.openLink = function() {  
console.log(‘open the link modal’);  
sandboxHandler.open();  
};

I can see the console log in chrome browser. But from Icon View app, its not getting triggered the Plaid API.

ionic serve --address `<<IP address>>`

---

<div class="post-metadata">

**Author:** ![Srijith](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/srijith/32/95021_2.png) [@Srijith](https://forum.ionicframework.com/u/Srijith)\
**Post date:** [July 5, 2016, 10:55am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/4 "2016-07-05T10:55:48Z")

</div>

So you are saying the console.log(‘open the link modal’) doesn’t show up in the console?

ok do this. After connecting the device, goto chrome://inspect and click on your app’s webview and check the logs. That way you can see whats happening in your device

---

<div class="post-metadata">

**Author:** ![devstar](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@devstar](https://forum.ionicframework.com/u/devstar)\
**Post date:** [July 5, 2016, 11:23am UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/5 "2016-07-05T11:23:52Z")

</div>

yes, I tried that and I can see the console log from chrome inspect for app webview. Here I am not able to troubleshoot the click event from Ionic View app. And looks like only someone from Ionic team can only be able to do that as per this link [[SOLVED] IonicView App - Http request to external API](https://forum.ionicframework.com/t/solved-ionicview-app-http-request-to-external-api/18696/9).

---

<div class="post-metadata">

**Author:** ![devstar](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@devstar](https://forum.ionicframework.com/u/devstar)\
**Post date:** [July 5, 2016, 12:17pm UTC](https://forum.ionicframework.com/t/ionicview-app-http-request-to-external-api-plaid-auth-api/56627/6 "2016-07-05T12:17:38Z")

</div>

@tim - can you please help?
