-
Sep 13th, 2012, 08:42 AM
#1
Thread Starter
Fanatic Member
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
-
Sep 18th, 2012, 01:54 PM
#2
Re: HTTP Authorization Question .net 3.5
You can use fiddler to view the requests and responses
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|