Created
November 9, 2014 02:03
-
-
Save timhall/bab59824216aefb5f61b to your computer and use it in GitHub Desktop.
Excel-REST Basic Authentication
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
' Create Client | |
Dim Client As New RestClient | |
Client.BaseUrl = "https://..." | |
' Create HttpBasicAuthenticator | |
' https://github.com/timhall/Excel-REST/tree/master/authenticators | |
Dim Auth As New HttpBasicAuthenticator | |
Auth.Setup "Username", "Password" | |
' Add Authenticator to Client | |
' -> All requests client makes will use basic authentication | |
Set Client.Authenticator = Auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment