I know there's a lot of documentation our there about authorizaiton so I don't know if I'm missing something obvious, but this is
returning 'Bad Request (400)'. Does anyone have any ideas, or a better way to do this?



objHttpWebRequest.Method = "POST"
objHttpWebRequest.ContentType = "text/xml"

Dim authInfo As String
authInfo = username + ":" + password
authInfo = Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(authInfo))
objHttpWebRequest.Headers("Authorization") = "Basic " + authInfo