Answers for "scala get file from url as string"

2

scala get file from url as string

import scala.io.Source
val html = Source.fromURL("http://google.com")
val s = html.mkString
println(s)
Posted by: Guest on December-26-2020

Code answers related to "Scala"

Browse Popular Code Answers by Language