I'm writing an android app to integrate with the pool APIs and I'm running into an interesting problem. When I call an end point such as here, I can parse the data fine (UTF-8). However, if I call the actual site data end point such as here, it returns a ton of garbled information.
Both of these endpoints work in a browser. It's just on the android side that's an issue.
So my question is, is this data on the live_stats page delivered differently from the stats_address page? Some sort of streaming or encoding difference? I'm trying to narrow it down, but I can't and every method of programmatically opening a connection to the live stats page gives me a bunch of garbage.
Thoughts?