get Url Content
fun getUrlContent(theUrl: String, userAgent: String? = "Mozilla/5.0"): String
Content copied to clipboard
Gets the contents of a url as a string.
Return
the string stored in the url content
Parameters
the Url
the url to get the data from
user Agent
the user agent to use in the connection