Skip to content

Instantly share code, notes, and snippets.

@r-wheeler
Created January 29, 2015 04:00
Show Gist options
  • Save r-wheeler/0501c6b5d014853d2f12 to your computer and use it in GitHub Desktop.
Save r-wheeler/0501c6b5d014853d2f12 to your computer and use it in GitHub Desktop.
Scalaj http request
import scalaj.http
val x = Http("http://en.wikipedia.org/wiki/Adolf_Hitler").option(_.setInstanceFollowRedirects(true)).asString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment