I recently was referred to jsoup and I am trying to retrieve a string from a Google Script API link that feeds me a single string. However, I am unable to retrieve it. When I do
val ipadd: String = doc.body()
I do not seem to see my string inside. I have also tried
val ipadd: String = doc.getElementsContainingText("L1").toString()
but it didn't work either. If anyone could provide some help, that would be great. I have put the url for the Google Script API below. Thanks. https://script.google.com/macros/s/AKfycbyjRIRl2ca_pnfz8XgccjDlaRPUNz6KY_WcyPZAROsy9EZkD35F/exec?command=GetLock1IPAddress