Two mistakes:
- You still do a POST instead of a GET API call
- You convert the response to JSON thinking it is an object. The response is JSON as it comes so no need to convert it again to JSON. Thinking that it is an object and converting it to JSON may cause the app to crash.
I mentioned both of the above points in my previous message. Here is the corrected code:
