Hi, I'm using an api where you send a request to the website's server in the form of a URL e.g. http://www.example.com/api.php?method=getstats&name=chro
So this returns some JSON (i.e. plain text), which I think I'm able to parse, but I need to get that returned JSON to be in a string variable.
I've tried fiddling with webview, but this is obviously the wrong kind of thing because I don't want the JSON to actually be seen directly by the user. I want to be able to format it and also not be shown in a browser window.
Any tips?
So this returns some JSON (i.e. plain text), which I think I'm able to parse, but I need to get that returned JSON to be in a string variable.
I've tried fiddling with webview, but this is obviously the wrong kind of thing because I don't want the JSON to actually be seen directly by the user. I want to be able to format it and also not be shown in a browser window.
Any tips?