@arctushar You haven’t set the response headers properly:
-
randomuser.me:
Content-Type:application/json; charset=utf-8 -
need4engineer.com:
Content-Type:text/javascript
I would recommend you to:
- Learn more about Chrome Dev Tools (see inspecting HTTP headers)
- Join a forum focused on PHP development
Since the problem is not Ionic-related and the discussion is going off-topic I’m closing the topic.