Http get issue in chrome environment

Hello all, I use chrome to quick develop an ionic project (with the command, ionic serve). I also install the chrome plugin “all-control-allow-origin” in my chrome. However, I still have a problem to use the http get api to retrieve the data from the net. Is there any successful example available for me to test this? (with real http address, not the http://localhost:3000/api/endpoint one).

Thank you

So you aren’t able to issue a request from your app to an external api?

I’m not sure exactly what your problem is. What exactly are you trying to do?

Hello all,
Sorry for this late reply. And I found the solution.
My problem is when I developing the following codes in the web environment.
$http.get(url)
.success(function(response) {
if(listings && listings.length){
deferred.resolve(listings);
}else {
deferred.reject();
}
})
.error(function(data, status) {
deferred.reject();
//alert(‘err’);
});
I always can not get any data response from the URL. After I install the Chrome plugin “all-control-allow-origin” and enable it. I can get the results.

I think if anyone can not retrieve results, they should re-open the plugin and try their codes again.

Thanks a lot .

Philip Chen