So far REST API get method working in my local ng serve , but in my device not working.
Android device remote debug showing :URL:'localhost/get/list'
proxy.config.json
"/code":{
"target": "http://192.x.x.x:8010",
"secure":false,
"changeOrigin": true,
"logLevel": "debug"
},
Serive Get Method:
this.service.getUrl('/get/list','level=2').subscribe(
data=>{ //Android Device URL :localhost/get/list not showing proxy.config.url
});
package.json
"start": "ng serve --proxy-config proxy.conf.json",
Remote Debug Result:**I can't get **_body result like local result , it's seems getting index.html page.