json

Forum discussion tagged with json.
  1. F

    [SOLVED] Question Android Studio Kotlin API extraction using URL, throws a java.net.SocketException

    Hey, so I'm trying to use URL from the java.net.URL, to read the data from an API as a string using URL like this; response = URL("https://api.openweathermap.org/data/2.5/weather?q=$CITY&units=metric&appid=$API").readText() anyway everything should be working, but while debugging I can see...