Hi
I m developing a mobile apps which will fetch json data from my server.

My server address is http://need4engineer.com/api.php this is not working. But same data from another server https://randomuser.me/api/?results=5 is working well. Both the cases header is same.

Please help me

Recommended Answers

All 3 Replies

Need more information about what is 'not working' to help you.
All I can tell from the URL is that the JSON is valid.

Just to check this out I used the return from your first and second lints and put the results in http://jsonlint.com/

Both passed so the JSON is (again) valid from both sources.

Now you need to look past the http.get and see what your JSON reader is complaining about.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.