I've built a reque开发者_开发知识库st in Fiddler and need to send authentication info with the https request. Where would I put these credentials and tell Fiddler to use them?
You need to add an Authorization line like this to the Request Headers:
Authorization: Basic dGVzdDp0ZXN0
This is assuming Basic authentication and dGVzdDp0ZXN0 is the Base64 encoded username and password in the form
username:password
You can use the TextWizard from within fiddler (Tools -> TextWizard) to generate the Base64 string.
Without knowing fiddler I'd assume:
protocol://user:password@hostname:port/
That entirely depends on what kind of authentication mechanism the server is using. Most web servers use Basic, Digest, or Negotiate authentication; all convey the credentials via the WWW-Authorization request header.
精彩评论