Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

ngResource with localhost do not work

$
0
0

Hi everybody.
I have a ionic ngResource function that when my url post is a public url works fine, but when i use my own url rest application with localhost:8080 do not work.
Why?

Public url works:
return $resource('http://api.openweathermap.org/data/2.5/weather?q=London,uk&appid=2de143494c0b295cca9337e1e96b00e0');

Internal url do not work:
return $resource('http://192.168.0.13/harmobapp/service/go?id=2');

Thanks in advanced


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>