fix list null

i read your code 

you read from request instead of backend stream

ArrayList<String> list = gson.fromJson(new InputStreamReader(connection.getInputStream()),ArrayList.class);