Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Do I Get By The Basic Authentication Handshake When Using Fiddler To Test A WCF REST Service?

How Do I Get By The Basic Authentication Handshake When Using Fiddler To Test A WCF REST Service?

like image 563
Peter Avatar asked Feb 09 '11 16:02

Peter


People also ask

How do I add basic authentication to Fiddler?

Creating a Basic Authentication RequestSelect the Composer tab. Set the HTTP/HTTPS method to GET and add the URL in the URL field. Create an object in the request Body and the user and passwd variables and their values. In this object, user and passwd are the predefined variables for the Basic Authentication.

How do you test basic authentication?

Testing Basic Auth with httpbinThe endpoint for Basic Auth is /basic-auth/{user}/{passwd} . For example, if you go to http://httpbin.org/basic-auth/foo/bar you'll see a prompt and you can authenticate using the username foo and the password bar .


1 Answers

You need to base64 encode your username:password and then prefix it with Basic. It will end up looking something like:

Authorization: Basic VEFWSVNcZGFycmVsOg==

You then enter this in the request headers field.

like image 61
Darrel Miller Avatar answered Oct 24 '22 09:10

Darrel Miller