Created
March 6, 2014 02:41
-
-
Save brentsowers1/9381230 to your computer and use it in GitHub Desktop.
HTTP Authentication with Dispatch
This file contains hidden or 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
val h = new Http | |
val req = url("url to request").as_!("user name", "password") | |
val rsp = h(req as_str) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment