HTTP Authorization Question .net 3.5
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
Re: HTTP Authorization Question .net 3.5
You can use fiddler to view the requests and responses