Created
January 29, 2015 04:00
-
-
Save r-wheeler/0501c6b5d014853d2f12 to your computer and use it in GitHub Desktop.
Scalaj http request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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