Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Dim oHTTP As Object: Set oHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")
  2. Dim uri As String: uri = "https://identitysso.betfair.com/api/certlogin"
  3. oHTTP.Open "POST", uri, False
  4. oHTTP.SetClientCertificate "Common Name"
  5. oHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
  6. oHTTP.setRequestHeader "X-Application", App_key
  7. oHTTP.setRequestHeader "Accept", "application/json"
  8. oHTTP.send "username=" & UserName & "&password=" & Password & ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement