Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim oHTTP As Object: Set oHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")
- Dim uri As String: uri = "https://identitysso.betfair.com/api/certlogin"
- oHTTP.Open "POST", uri, False
- oHTTP.SetClientCertificate "Common Name"
- oHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
- oHTTP.setRequestHeader "X-Application", App_key
- oHTTP.setRequestHeader "Accept", "application/json"
- oHTTP.send "username=" & UserName & "&password=" & Password & ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement