GitHub - hmil/RosHTTP: Unified Scala.js + Scala HTTP client API
valrequest=HttpRequest("https://schema.org/WebPage") request.send().onComplete({caseres:Success[SimpleHttpResponse]=>println(res.get.body)casee:Failure[SimpleHttpResponse]=>println("Houston, we got a problem!") }) Configuring requests