Let’s roll with a straightforward example using Haskell’s http-conduit library.
http-conduit
For parsing HTML in Haskell, we’ll use the tagsoup library for its simplicity and flexibility.
tagsoup
Let’s get to the fun stuff.
You’ll need the http-conduit package for HTTP actions and base64-bytestring for encoding credentials.
base64-bytestring