Could we consider the remaining of this blog post as a good code example ?

Using lihaoyi requests-scala http client API to retrieve the content of a http request :

import $ivy.`com.lihaoyi::requests:0.6.5`
requests.get("https://httpbin.org/get").lines().foreach(println)

Just copy/paste those lines into an ammonite REPL session to execute them and see the result.