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

Ionic 4: HttpClient is giving me a “http error response 0 unknown error”

$
0
0

I will try.

Just one question, I am testing in postman. In the server logs received this:

190.248.174.185 - - [26/Mar/2020:20:02:03 +0000] “POST /api-pagv1/requestInstallations/?brand=motorola&model=motorla+ne&androidid=54c39e085dabab11&serialsim=54c39e085dabab11&imei=54c39e085dabab11 HTTP/1.1” 200 3736 “-” “PostmanRuntime/7.24.0”

But when I tested from my android devices (a real phone not a emulator) the server got this:

190.248.174.185 - - [26/Mar/2020:20:53:01 +0000] “OPTIONS /api-pagv1/requestInstallations/ HTTP/1.1” 200 4160 “http://localhost/home” “Mozilla/5.0 (Linux; Android 9; motorola one Build/PPKS29.68-16-21-20; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.149 Mobile Safari/537.36”

Why in the cell phone the route is: http://localhost/home??


Viewing all articles
Browse latest Browse all 230801

Trending Articles



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