Skip to content

Instantly share code, notes, and snippets.

@russelldb
Created October 3, 2009 20:22
Show Gist options
  • Save russelldb/200845 to your computer and use it in GitHub Desktop.
Save russelldb/200845 to your computer and use it in GitHub Desktop.
http:request(get, {"http://hostname/resource", [{"Authorization", "Basic " ++ base64:encode_to_string("username:password")}]}, [], []).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment